Usermode/POSIX - Hacking in stubs to build irssi/glib
authorJohn Hodge <[email protected]>
Thu, 11 Dec 2014 03:34:04 +0000 (11:34 +0800)
committerJohn Hodge <[email protected]>
Thu, 11 Dec 2014 03:34:04 +0000 (11:34 +0800)
Usermode/Libraries/libc.so_src/include_exp/errno.enum.h
Usermode/Libraries/libposix.so_src/include_exp/glob.h [new file with mode: 0644]
Usermode/Libraries/libposix.so_src/include_exp/regex.h

index be8c882..d7b1053 100755 (executable)
@@ -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 (file)
index 0000000..ff96b8e
--- /dev/null
@@ -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
index a830286..ebbe6b6 100644 (file)
@@ -30,6 +30,11 @@ enum {
        REG_BADRPT,
 };
 
+#define REG_EXTENDED   0x1
+#define REG_ICASE      0x2
+#define REG_NOSUB      0x4
+#define REG_NEWLINE    0x8
+
 
 #endif
 

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