X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;ds=sidebyside;f=Usermode%2FLibraries%2Flibposix.so_src%2Finclude_exp%2Fgetopt.h;fp=Usermode%2FLibraries%2Flibposix.so_src%2Finclude_exp%2Fgetopt.h;h=b6db119ef9445edb4922fba9dff62a7f2088188a;hb=845b6f9d90bb87b5e760e4d49aa93b0e003ab750;hp=0000000000000000000000000000000000000000;hpb=67a7fe2bb79eceaf10c572a99bd8345c4e81cf5b;p=tpg%2Facess2.git diff --git a/Usermode/Libraries/libposix.so_src/include_exp/getopt.h b/Usermode/Libraries/libposix.so_src/include_exp/getopt.h new file mode 100644 index 00000000..b6db119e --- /dev/null +++ b/Usermode/Libraries/libposix.so_src/include_exp/getopt.h @@ -0,0 +1,27 @@ +/* + * Acess2 POSIX Emulation Layer + * - By John Hodge (thePowersGang) + * + * getopt.h + * - getopt() command line parsing code + */ +#ifndef _LIBPOSIX_GETOPT_H_ +#define _LIBPOSIX_GETOPT_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +extern char* optarg; +extern int opterr; +extern int optind; +extern int optopt; + +extern int getopt(int argc, char * const argv[], const char *optstring); + +#ifdef __cplusplus +} +#endif + +#endif +