Lines Matching refs:getopt
1 /* Declarations for getopt.
25 /* For communication from `getopt' to the caller.
26 When `getopt' finds an option that takes an argument,
35 and for communication between successive calls to `getopt'.
37 On entry to `getopt', zero means this is the first call; initialize.
39 When `getopt' returns EOF, this is the index of the first of the
47 /* Callers store zero here to inhibit the error message `getopt' prints
74 one). For long options that have a zero `flag' field, `getopt'
99 /* Many other libraries have conflicting prototypes for getopt, with
101 errors, only prototype getopt for the GNU C library. */
102 extern int getopt (int argc, char *const *argv, const char *shortopts);
104 extern int getopt ();
118 extern int getopt ();