Add missing include.
[gnulib.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
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, Interix 3.5.
28 @item
29 The function @code{getopt_long_only} is missing on some platforms:
30 MacOS X 10.3, FreeBSD 5.2.1, NetBSD 3.0, IRIX 6.5, OSF/1 5.1, mingw.
31 @item
32 The method to reset options is incompatible on some platforms:
33 FreeBSD 6.0, NetBSD 3.0(?), OpenBSD 3.8, Cygwin(?), mingw.
34 @item
35 The function @code{getopt} does not handle a leading @samp{+} character in
36 the options string on some platforms:
37 Solaris 10.
38 @end itemize
39
40 Portability problems not fixed by Gnulib:
41 @itemize
42 @end itemize