From: John Hodge Date: Thu, 11 Dec 2014 03:34:04 +0000 (+0800) Subject: Usermode/POSIX - Hacking in stubs to build irssi/glib X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=70238519b199edb871c392af829400edf79dd41b;p=tpg%2Facess2.git Usermode/POSIX - Hacking in stubs to build irssi/glib --- diff --git a/Usermode/Libraries/libc.so_src/include_exp/errno.enum.h b/Usermode/Libraries/libc.so_src/include_exp/errno.enum.h index be8c882a..d7b10536 100755 --- a/Usermode/Libraries/libc.so_src/include_exp/errno.enum.h +++ b/Usermode/Libraries/libc.so_src/include_exp/errno.enum.h @@ -37,8 +37,9 @@ enum libc_eErrorNumbers { // psockets EAFNOSUPPORT, - EADDRINUSE, // Specified addres is already in use + EADDRINUSE, // (POSIX.1) Specified addres is already in use ETIMEDOUT, + EOPNOTSUPP, // (POSIX.1) Operation not supported on socket EINTERNAL // Internal Error }; diff --git a/Usermode/Libraries/libposix.so_src/include_exp/glob.h b/Usermode/Libraries/libposix.so_src/include_exp/glob.h new file mode 100644 index 00000000..ff96b8e6 --- /dev/null +++ b/Usermode/Libraries/libposix.so_src/include_exp/glob.h @@ -0,0 +1,13 @@ +/* + * Acess2 POSIX Emulation Library + * - By John Hodge (thePowersGang) + * + * glob.h + * - Globbing code + */ +#ifndef _LIBPOSIX__GLOB_H_ +#define _LIBPOSIX__GLOB_H_ + + + +#endif diff --git a/Usermode/Libraries/libposix.so_src/include_exp/regex.h b/Usermode/Libraries/libposix.so_src/include_exp/regex.h index a830286c..ebbe6b63 100644 --- a/Usermode/Libraries/libposix.so_src/include_exp/regex.h +++ b/Usermode/Libraries/libposix.so_src/include_exp/regex.h @@ -30,6 +30,11 @@ enum { REG_BADRPT, }; +#define REG_EXTENDED 0x1 +#define REG_ICASE 0x2 +#define REG_NOSUB 0x4 +#define REG_NEWLINE 0x8 + #endif