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