getopt 0#3

The getopt and getopt_long functions automate some of the chore involved in parsing typical unix command line options.