b6db119ef9445edb4922fba9dff62a7f2088188a
[tpg/acess2.git] / getopt.h
1 /*
2  * Acess2 POSIX Emulation Layer
3  * - By John Hodge (thePowersGang)
4  *
5  * getopt.h
6  * - getopt() command line parsing code
7  */
8 #ifndef _LIBPOSIX_GETOPT_H_
9 #define _LIBPOSIX_GETOPT_H_
10
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
14
15 extern char*    optarg;
16 extern int      opterr;
17 extern int      optind;
18 extern int      optopt;
19
20 extern int      getopt(int argc, char * const argv[], const char *optstring);
21
22 #ifdef __cplusplus
23 }
24 #endif
25
26 #endif
27

UCC git Repository :: git.ucc.asn.au