getopt(3) was also added in 1003.2-1992.

This commit is contained in:
wollman 2002-07-15 21:32:45 +00:00
parent 5bd8884c66
commit 859a07fe0d

View File

@ -134,13 +134,13 @@ char *ttyname(int);
int unlink(const char *);
ssize_t write(int, const void *, size_t);
extern char *optarg; /* getopt(3) external variables */
extern int optind, opterr, optopt;
int getopt(int, char * const [], const char *);
/* 1003.2-1992 */
#if __POSIX_VISIBLE >= 199209
size_t confstr(int, char *, size_t);
int getopt(int, char * const [], const char *);
extern char *optarg; /* getopt(3) external variables */
extern int optind, opterr, optopt;
#endif
/* ISO/IEC 9945-1: 1996 */