Lines Matching defs:getopt
1 /* Declarations for getopt.
29 headers that might declare getopt so that they will not cause
41 # undef getopt
51 # define getopt __GETOPT_ID (getopt)
67 but it caused redefinition warnings if both unistd.h and getopt.h were
68 included, since unistd.h includes getopt.h having previously defined
110 /* For communication from `getopt' to the caller.
111 When `getopt' finds an option that takes an argument,
120 and for communication between successive calls to `getopt'.
122 On entry to `getopt', zero means this is the first call; initialize.
124 When `getopt' returns -1, this is the index of the first of the
132 /* Callers store zero here to inhibit the error message `getopt' prints
160 one). For long options that have a zero `flag' field, `getopt'
178 #endif /* need getopt */
195 optional. This behavior is specific to the GNU `getopt'.
198 scanning, explicitly telling `getopt' that there are no more
203 `getopt'. */
205 extern int getopt (int ___argc, char *const *___argv, const char *__shortopts)
227 #endif /* getopt.h */