Home | History | Annotate | Download | only in lib

Lines Matching refs:getopt

1 /* Declarations for getopt.
29 headers that might declare getopt so that they will not cause
39 # undef getopt
49 # define getopt __GETOPT_ID (getopt)
65 but it caused redefinition warnings if both unistd.h and getopt.h were
66 included, since unistd.h includes getopt.h having previously defined
108 /* For communication from `getopt' to the caller.
109 When `getopt' finds an option that takes an argument,
118 and for communication between successive calls to `getopt'.
120 On entry to `getopt', zero means this is the first call; initialize.
122 When `getopt' returns -1, this is the index of the first of the
130 /* Callers store zero here to inhibit the error message `getopt' prints
158 one). For long options that have a zero `flag' field, `getopt'
176 #endif /* need getopt */
193 optional. This behavior is specific to the GNU `getopt'.
196 scanning, explicitly telling `getopt' that there are no more
201 `getopt'. */
203 extern int getopt (int ___argc, char *const *___argv, const char *__shortopts)
225 #endif /* getopt.h */