getopt
======

POSIX specification: http://www.opengroup.org/onlinepubs/9699919799/functions/getopt.html

Gnulib module: ---

Portability problems fixed by Gnulib:

Portability problems not fixed by Gnulib:

  * The default behavior of the glibc implementation of getopt allows mixing option and non-option arguments on the command line in any order. Other implementations, such as the one in Cygwin, enforce strict POSIX compliance: they require that the option arguments precede the non-option arguments.  This is something to watch out in your program's testsuite.

Gnulib provides a module getopt that has support for ``long options''. Compared to POSIX, it adds a header file <getopt.h> and functions getopt_long and getopt_long_only.