Home | History | Annotate | Download | only in include

Lines Matching defs:getopt

1 /* Declarations for getopt.
53 /* For communication from `getopt' to the caller.
54 When `getopt' finds an option that takes an argument,
63 and for communication between successive calls to `getopt'.
65 On entry to `getopt', zero means this is the first call; initialize.
67 When `getopt' returns -1, this is the index of the first of the
75 /* Callers store zero here to inhibit the error message `getopt' prints
103 one). For long options that have a zero `flag' field, `getopt'
121 #endif /* need getopt */
138 optional. This behavior is specific to the GNU `getopt'.
141 scanning, explicitly telling `getopt' that there are no more
146 `getopt'. */
149 /* Many other libraries have conflicting prototypes for getopt, with
151 errors, only prototype getopt for the GNU C library. */
152 extern int getopt (int ___argc, char *const *___argv, const char *__shortopts)
157 /* The GNU getopt has more functionality than the standard version. The
161 extern int __REDIRECT_NTH (getopt, (int ___argc, char *const *___argv,
167 # define getopt __posix_getopt
171 extern int getopt ();
193 #endif /* getopt.h */