argc The argument count as passed to main. argv The argument array as passed to main. optstring A string of recognized option characters. If a character is followed by a colon, the option takes an argument.