Usermode - Cleaning up while attempting to port dropbear/openssl
[tpg/acess2.git] / Usermode / include / errno.h
1 #ifndef _ERRNO_H_
2 #define _ERRNO_H_
3
4 // TODO: Fully implement errno.h, make sure it matches the kernel one
5
6 extern int      _errno;
7 #define errno   _errno
8
9 #define strerror(_x)    "Unimplemented"
10
11 enum
12 {
13         EOK,
14         EINVAL,
15         ERANGE,
16         ENODEV,
17         EBADF,
18         EINTR,
19         EAGAIN,
20         ENOMEM,
21
22         EADDRNOTAVAIL,
23         EINPROGRESS,
24
25         E_LAST
26 };
27
28 #endif

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