Lines Matching refs:getopt
1 /* Declarations for getopt.
30 /* For communication from `getopt' to the caller.
31 When `getopt' finds an option that takes an argument,
40 and for communication between successive calls to `getopt'.
42 On entry to `getopt', zero means this is the first call; initialize.
44 When `getopt' returns -1, this is the index of the first of the
52 /* Callers store zero here to inhibit the error message `getopt' prints
79 one). For long options that have a zero `flag' field, `getopt'
110 /* Many other libraries have conflicting prototypes for getopt, with
112 errors, only prototype getopt for the GNU C library. */
113 extern int getopt (int argc, char *const *argv, const char *shortopts);
116 extern int getopt ();
133 extern int getopt ();
144 #endif /* getopt.h */