Changed int argc to unsigned long nargs to be consistent with documentation