Next: , Previous: getnetent, Up: Function Substitutes


9.355 getopt

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

Gnulib module: getopt-posix or getopt-gnu

The module getopt-gnu has support for “long options” and for “options that take optional arguments”. Compared to the API defined by POSIX, it adds a header file <getopt.h> and a function getopt_long.

Portability problems fixed by either Gnulib module getopt-posix or getopt-gnu:

Portability problems fixed by Gnulib module getopt-gnu:

Portability problems not fixed by Gnulib: