diff options
Diffstat (limited to 'sgetopt.h')
-rw-r--r-- | sgetopt.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/sgetopt.h b/sgetopt.h new file mode 100644 index 0000000..bf8bce6 --- /dev/null +++ b/sgetopt.h | |||
@@ -0,0 +1,23 @@ | |||
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 | ||