Next: , Previous: getnetent, Up: Function Substitutes

8.352 getopt

POSIX specification:

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: