Lines Matching defs:getopt
1 /* Declarations for getopt.
27 <getopt.h>; our definitions will be present soon enough. */
43 headers that might declare getopt so that they will not cause
44 confusion if included after this file (if the system had <getopt.h>,
56 # undef getopt
67 # define getopt __GETOPT_ID (getopt)
85 but it caused redefinition warnings if both unistd.h and getopt.h were
86 included, since unistd.h includes getopt.h having previously defined
130 /* For communication from `getopt' to the caller.
131 When `getopt' finds an option that takes an argument,
140 and for communication between successive calls to `getopt'.
142 On entry to `getopt', zero means this is the first call; initialize.
144 When `getopt' returns -1, this is the index of the first of the
152 /* Callers store zero here to inhibit the error message `getopt' prints
180 one). For long options that have a zero `flag' field, `getopt'
198 #endif /* need getopt */
215 optional. This behavior is specific to the GNU `getopt'.
218 scanning, explicitly telling `getopt' that there are no more
223 `getopt'. If OPTS begins with `+', or POSIXLY_CORRECT is set in
226 extern int getopt (int ___argc, char *const *___argv, const char *__shortopts)
248 #endif /* getopt.h */
249 #endif /* getopt.h */