2 @subsection @code{getopt_long}
5 Gnulib module: getopt-gnu
7 Portability problems fixed by Gnulib:
10 The function @code{getopt_long} does not support the @samp{+} flag in
11 the options string on some platforms:
12 MacOS X 10.5, AIX 5.2, OSF/1 5.1, Solaris 10.
14 The function @code{getopt_long} does not obey the @samp{-} flag in the
15 options string when @env{POSIXLY_CORRECT} is set on some platforms:
18 The function @code{getopt_long} does not support options with optional
19 arguments on some platforms:
20 MacOS X 10.5, OpenBSD 4.0, AIX 5.2, IRIX 6.5, Solaris 10, Cygwin 1.5.x.
22 This function is missing on some platforms:
23 AIX 5.1, HP-UX 11, IRIX 6.5, OSF/1 5.1, Interix 3.5.
26 Portability problems not fixed by Gnulib:
29 The glibc implementation allows a complete reset of the environment,
30 including re-checking for @env{POSIXLY_CORRECT}, by setting
31 @code{optind} to 0. Other implementations provide @code{optreset},
32 causing a reset by setting it non-zero, although it does not
33 necessarily re-read @env{POSIXLY_CORRECT}.