Lines Matching defs:getopt
1 /* Declarations for getopt.
27 <stdlib.h> includes <getopt.h>, and <config.h> is not a prerequisite for
37 headers that might declare getopt so that they will not cause
49 # undef getopt
59 # define getopt __GETOPT_ID (getopt)
75 but it caused redefinition warnings if both unistd.h and getopt.h were
76 included, since unistd.h includes getopt.h having previously defined
118 /* For communication from `getopt' to the caller.
119 When `getopt' finds an option that takes an argument,
128 and for communication between successive calls to `getopt'.
130 On entry to `getopt', zero means this is the first call; initialize.
132 When `getopt' returns -1, this is the index of the first of the
140 /* Callers store zero here to inhibit the error message `getopt' prints
168 one). For long options that have a zero `flag' field, `getopt'
186 #endif /* need getopt */
203 optional. This behavior is specific to the GNU `getopt'.
206 scanning, explicitly telling `getopt' that there are no more
211 `getopt'. */
213 extern int getopt (int ___argc, char *const *___argv, const char *__shortopts)
235 #endif /* getopt.h */