runit

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

sgetopt.h (481B)


      1 /* Public domain. */
      2 
      3 #ifndef SGETOPT_H
      4 #define SGETOPT_H
      5 
      6 #ifndef SGETOPTNOSHORT
      7 #define getopt sgetoptmine
      8 #define optarg subgetoptarg
      9 #define optind subgetoptind
     10 #define optpos subgetoptpos
     11 #define opterr sgetopterr
     12 #define optproblem subgetoptproblem
     13 #define optprogname sgetoptprogname
     14 #define opteof subgetoptdone
     15 #endif
     16 
     17 #include "subgetopt.h"
     18 
     19 extern int sgetoptmine(int,const char *const *,const char *);
     20 extern int sgetopterr;
     21 extern const char *sgetoptprogname;
     22 
     23 #endif