Lines Matching refs:getopt
1 /* Declarations for getopt.
21 #include <getopt.h>
46 /* For communication from `getopt' to the caller.
47 When `getopt' finds an option that takes an argument,
56 and for communication between successive calls to `getopt'.
58 On entry to `getopt', zero means this is the first call; initialize.
60 When `getopt' returns -1, this is the index of the first of the
68 /* Callers store zero here to inhibit the error message `getopt' prints
96 one). For long options that have a zero `flag' field, `getopt'
118 #endif /* need getopt */
135 optional. This behavior is specific to the GNU `getopt'.
138 scanning, explicitly telling `getopt' that there are no more
143 `getopt'. */
147 /* Many other libraries have conflicting prototypes for getopt, with
149 errors, only prototype getopt for the GNU C library. */
150 extern int getopt (int ___argc, char *const *___argv, const char *__shortopts);
152 extern int getopt ();
170 extern int getopt ();
188 #endif /* !external getopt.h */