Lines Matching refs:getopt
1 /* Declarations for getopt.
52 /* For communication from `getopt' to the caller.
53 When `getopt' finds an option that takes an argument,
62 and for communication between successive calls to `getopt'.
64 On entry to `getopt', zero means this is the first call; initialize.
66 When `getopt' returns -1, this is the index of the first of the
74 /* Callers store zero here to inhibit the error message `getopt' prints
102 one). For long options that have a zero `flag' field, `getopt'
120 #endif /* need getopt */
137 optional. This behavior is specific to the GNU `getopt'.
140 scanning, explicitly telling `getopt' that there are no more
145 `getopt'. */
148 /* Many other libraries have conflicting prototypes for getopt, with
150 errors, only prototype getopt for the GNU C library. */
151 extern int getopt (int ___argc, char *const *___argv, const char *__shortopts)
154 extern int getopt ();
176 #endif /* getopt.h */