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/libc - More errno values and signal symbolic names
[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
ea352f3
..
c7f5b49
100644
(file)
--- a/
Usermode/Libraries/libc.so_src/include_exp/errno.h
+++ b/
Usermode/Libraries/libc.so_src/include_exp/errno.h
@@
-3,26
+3,11
@@
// TODO: Fully implement errno.h, make sure it matches the kernel one
// 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"
#define strerror(_x) "Unimplemented"
-enum
-{
- EOK,
- EINVAL,
- ERANGE,
- ENODEV,
- EBADF,
- EINTR,
- EAGAIN,
- ENOMEM,
-
- EADDRNOTAVAIL,
- EINPROGRESS,
-
- E_LAST
-};
+#include "errno.enum.h"
#endif
#endif
UCC
git Repository :: git.ucc.asn.au