git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Usermode/lib{c,posix} - Adding clock_* POSIX functions
[tpg/acess2.git]
/
Usermode
/
Libraries
/
libc.so_src
/
include_exp
/
errno.h
diff --git
a/Usermode/Libraries/libc.so_src/include_exp/errno.h
b/Usermode/Libraries/libc.so_src/include_exp/errno.h
index
cbe8749
..
213aeba
100644
(file)
--- a/
Usermode/Libraries/libc.so_src/include_exp/errno.h
+++ b/
Usermode/Libraries/libc.so_src/include_exp/errno.h
@@
-1,12
+1,19
@@
+/**
+ * Acess2 C Library
+ * - By John Hodge (thePowersGang)
+ *
+ * errno.h
+ * - Error values and related functions
+ */
#ifndef _ERRNO_H_
#define _ERRNO_H_
// TODO: Fully implement errno.h, make sure it matches the kernel one
#ifndef _ERRNO_H_
#define _ERRNO_H_
// TODO: Fully implement errno.h, make sure it matches the kernel one
-extern int
_errno
;
-#define errno
_errno
+extern int
*libc_geterrno()
;
+#define errno
(*libc_geterrno())
-#define strerror(_x) "Unimplemented"
+extern const char *strerr(int errnum);
#include "errno.enum.h"
#include "errno.enum.h"
UCC
git Repository :: git.ucc.asn.au