diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /support/ltx2x/getopt.h |
Initial commit
Diffstat (limited to 'support/ltx2x/getopt.h')
-rw-r--r-- | support/ltx2x/getopt.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/support/ltx2x/getopt.h b/support/ltx2x/getopt.h new file mode 100644 index 0000000000..4761761368 --- /dev/null +++ b/support/ltx2x/getopt.h @@ -0,0 +1,10 @@ +/* getopt.h from Don Libes "Obfuscated C" (extended by PRW) */ +#ifndef GETOPT_H +#define GETOPT_H +extern int getopt(); +extern char *optarg; /* current argv string */ +extern int optind; /* current argv index */ +extern int optopt; /* option character */ +extern int opterr; /* getopt prints errors if 1 */ +#endif /* GETOPT_H */ + |