Home | History | Annotate | Download | only in lib

Lines Matching full:getopt

1 /* Declarations for getopt.
28 headers that might declare getopt so that they will not cause
38 # undef getopt
48 # define getopt __GETOPT_ID (getopt)
64 but it caused redefinition warnings if both unistd.h and getopt.h were
65 included, since unistd.h includes getopt.h having previously defined
107 /* For communication from `getopt' to the caller.
108 When `getopt' finds an option that takes an argument,
117 and for communication between successive calls to `getopt'.
119 On entry to `getopt', zero means this is the first call; initialize.
121 When `getopt' returns -1, this is the index of the first of the
129 /* Callers store zero here to inhibit the error message `getopt' prints
157 one). For long options that have a zero `flag' field, `getopt'
175 #endif /* need getopt */
192 optional. This behavior is specific to the GNU `getopt'.
195 scanning, explicitly telling `getopt' that there are no more
200 `getopt'. If OPTS begins with `+', or POSIXLY_CORRECT is set in
203 extern int getopt (int ___argc, char *const *___argv, const char *__shortopts)
225 #endif /* getopt.h */