Usermode/libc,libpsocket - Various fixes to psockets and errno
[tpg/acess2.git] / Usermode / Libraries / libc.so_src / include_exp / errno.h
1 /**
2  * Acess2 C Library
3  * - By John Hodge (thePowersGang)
4  *
5  * errno.h
6  * - Error values and related functions
7  */
8 #ifndef _ERRNO_H_
9 #define _ERRNO_H_
10
11 // TODO: Fully implement errno.h, make sure it matches the kernel one
12
13 extern int      *libc_geterrno();
14 #define errno   (*libc_geterrno())
15
16 extern const char       *strerr(int errnum);
17
18 #include "errno.enum.h"
19
20 #endif

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