Lines Matching refs:getopt
1 /* Declarations for getopt.
29 /* For communication from `getopt' to the caller.
30 When `getopt' finds an option that takes an argument,
39 and for communication between successive calls to `getopt'.
41 On entry to `getopt', zero means this is the first call; initialize.
43 When `getopt' returns -1, this is the index of the first of the
51 /* Callers store zero here to inhibit the error message `getopt' prints
78 one). For long options that have a zero `flag' field, `getopt'
103 /* Many other libraries have conflicting prototypes for getopt, with
105 errors, only prototype getopt for the GNU C library. */
106 extern int getopt (int argc, char *const *argv, const char *shortopts);
108 extern int getopt ();
122 extern int getopt ();
133 #endif /* getopt.h */