diff options
Diffstat (limited to 'sgetopt.h')
| -rw-r--r-- | sgetopt.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/sgetopt.h b/sgetopt.h new file mode 100644 index 0000000..5f89127 --- /dev/null +++ b/sgetopt.h | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | #ifndef SGETOPT_H | ||
| 2 | #define SGETOPT_H | ||
| 3 | |||
| 4 | #ifndef SGETOPTNOSHORT | ||
| 5 | #define getopt sgetoptmine | ||
| 6 | #define optarg subgetoptarg | ||
| 7 | #define optind subgetoptind | ||
| 8 | #define optpos subgetoptpos | ||
| 9 | #define opterr sgetopterr | ||
| 10 | #define optproblem subgetoptproblem | ||
| 11 | #define optprogname sgetoptprogname | ||
| 12 | #define opteof subgetoptdone | ||
| 13 | #endif | ||
| 14 | |||
| 15 | #include "subgetopt.h" | ||
| 16 | |||
| 17 | extern int sgetoptmine(); | ||
| 18 | extern int sgetopterr; | ||
| 19 | extern char *sgetoptprogname; | ||
| 20 | |||
| 21 | #endif | ||
