]> Zhao Yanbai Git Server - minix.git/commitdiff
Prototype and definitions for getopt()
authorBen Gras <ben@minix3.org>
Mon, 27 Jun 2005 09:30:49 +0000 (09:30 +0000)
committerBen Gras <ben@minix3.org>
Mon, 27 Jun 2005 09:30:49 +0000 (09:30 +0000)
include/unistd.h

index e4d34e7fd9574111d2aebec49874909456ab7998..ab62354ad17c5d371b271b2ac75c7960ae195d19 100755 (executable)
@@ -167,5 +167,7 @@ _PROTOTYPE( int setgroups, (int ngroups, const gid_t *gidset)               );
 #endif
 
 _PROTOTYPE( int readlink, (const char *, char *, int));
+_PROTOTYPE( int getopt, (int, char **, char *));
+extern int optind, opterr, optopt;
 
 #endif /* _UNISTD_H */