Lines Matching refs:getopt
1 /* Declarations for getopt.
41 /* For communication from `getopt' to the caller.
42 When `getopt' finds an option that takes an argument,
51 and for communication between successive calls to `getopt'.
53 On entry to `getopt', zero means this is the first call; initialize.
55 When `getopt' returns -1, this is the index of the first of the
63 /* Callers store zero here to inhibit the error message `getopt' prints
91 one). For long options that have a zero `flag' field, `getopt'
113 #endif /* need getopt */
130 optional. This behavior is specific to the GNU `getopt'.
133 scanning, explicitly telling `getopt' that there are no more
138 `getopt'. */
142 /* Many other libraries have conflicting prototypes for getopt, with
144 errors, only prototype getopt for the GNU C library. */
145 extern int getopt (int ___argc, char *const *___argv, const char *__shortopts);
147 extern int getopt ();
165 extern int getopt ();
181 #endif /* getopt.h */