1 /* 2 * errno.h 3 */ 4 5 #ifndef _POSIX_ERRNO_H 6 #define _POSIX_ERRNO_H 7 8 #ifdef __cplusplus 9 extern "C" 10 { 11 #endif 12 13 #include <Errors.h> 14 15 #define ENOERR 0 16 #define EOK ENOERR /* some code assumes EOK exists */ 17 18 extern int *_errnop(void); 19 #define errno (*(_errnop())) 20 21 #ifdef __cplusplus 22 } /* "C" */ 23 #endif 24 25 #endif /* _POSIX_ERRNO_H */ 26