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

This commit is contained in:
Garrett Wollman 2002-07-15 21:32:45 +00:00
parent 1f2cec106f
commit ef5b639902
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=100145

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 */