Node:Getopt, Next:Argp, Up:Parsing Program Arguments
getopt
The getopt and getopt_long functions automate some of the chore involved in parsing typical unix command line options.
getopt_long