Missing files
authorJohn Hodge <[email protected]>
Thu, 26 Jan 2012 06:27:50 +0000 (14:27 +0800)
committerJohn Hodge <[email protected]>
Thu, 26 Jan 2012 06:27:50 +0000 (14:27 +0800)
Usermode/include/stddef.h [new file with mode: 0644]
Usermode/include/unistd.h [new file with mode: 0644]

diff --git a/Usermode/include/stddef.h b/Usermode/include/stddef.h
new file mode 100644 (file)
index 0000000..efbabb3
--- /dev/null
@@ -0,0 +1,10 @@
+#ifndef _STDDEF_H_
+#define _STDDEF_H_
+
+#ifndef NULL
+# define NULL  ((void*)0)
+#endif
+
+typedef unsigned int   size_t;
+
+#endif
diff --git a/Usermode/include/unistd.h b/Usermode/include/unistd.h
new file mode 100644 (file)
index 0000000..d7d194d
--- /dev/null
@@ -0,0 +1,10 @@
+#ifndef _UNISTD_H_
+#define _UNISTD_H_
+
+#define        O_RDWR  (OPENFLAG_READ|OPENFLAG_WRITE)
+
+#include "acess/sys.h"
+
+
+#endif
+

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