Bump to 1.14.1
[platform/upstream/augeas.git] / doc / glibc-headers / getopt.texi
1 @node getopt.h
2 @section @file{getopt.h}
3
4 Defines the type @code{struct option} and declares the variables
5 @code{optarg}, @code{optind}, @code{opterr}, @code{optopt}
6 and the functions @code{getopt}, @code{getopt_long}, @code{getopt_long_only}.
7
8 Documentation:
9 @itemize
10 @item
11 @ifinfo
12 @ref{Getopt,,Parsing program options using `getopt',libc},
13 @end ifinfo
14 @ifnotinfo
15 @url{http://www.gnu.org/software/libc/manual/html_node/Getopt.html},
16 @end ifnotinfo
17 @item
18 @uref{http://www.kernel.org/doc/man-pages/online/pages/man3/getopt.3.html,,man getopt}.
19 @end itemize
20
21 Gnulib module: getopt-gnu
22
23 Portability problems fixed by Gnulib:
24 @itemize
25 @item
26 This header file is missing on some platforms:
27 AIX 5.1, HP-UX 11, MSVC 9, Interix 3.5.
28 @item
29 The function @code{getopt_long} is missing on some platforms:
30 IRIX 6.5, OSF/1 5.1, Solaris 9.
31 @item
32 The function @code{getopt_long_only} is missing on some platforms:
33 Mac OS X 10.3, FreeBSD 5.2.1, NetBSD 5.0, IRIX 6.5, OSF/1 5.1, Solaris 9, mingw.
34 @item
35 The method to reset options is incompatible on some platforms:
36 FreeBSD 6.0, NetBSD 5.0(?), OpenBSD 3.8, Cygwin 1.5.x, mingw.
37 @item
38 The function @code{getopt} does not handle a leading @samp{+} character in
39 the options string on some platforms:
40 Solaris 11 2010-11.
41 @end itemize
42
43 Portability problems not fixed by Gnulib:
44 @itemize
45 @end itemize