[BACK]Return to getopt.h CVS log [TXT][DIR] Up to [local] / src / include

Diff for /src/include/getopt.h between version 1.2 and 1.3

version 1.2, 2008/06/26 05:42:04 version 1.3, 2013/11/22 21:32:49
Line 36 
Line 36 
 #include <sys/cdefs.h>  #include <sys/cdefs.h>
   
 /*  /*
  * GNU-like getopt_long() and 4.4BSD getsubopt()/optreset extensions   * GNU-like getopt_long()
  */   */
 #define no_argument        0  #define no_argument        0
 #define required_argument  1  #define required_argument  1
Line 64 
Line 64 
 #ifndef _GETOPT_DEFINED_  #ifndef _GETOPT_DEFINED_
 #define _GETOPT_DEFINED_  #define _GETOPT_DEFINED_
 int      getopt(int, char * const *, const char *);  int      getopt(int, char * const *, const char *);
 int      getsubopt(char **, char * const *, char **);  
   
 extern   char *optarg;                  /* getopt(3) external variables */  extern   char *optarg;                  /* getopt(3) external variables */
 extern   int opterr;  extern   int opterr;
 extern   int optind;  extern   int optind;
 extern   int optopt;  extern   int optopt;
 extern   int optreset;  extern   int optreset;
 extern   char *suboptarg;               /* getsubopt(3) external variable */  
 #endif  #endif
 __END_DECLS  __END_DECLS
   

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3