1 
2 // automatically generated by m4 from headers in proto subdir
3 
4 
5 #ifndef __ERRNO_H__
6 #define __ERRNO_H__
7 
8 #include <arch.h>
9 
10 extern int errno;
11 
12 #define EOK            __EOK
13 #define EACCES         __EACCES
14 #define EBADF          __EBADF
15 #define EBDFD          __EBDFD
16 #define EDOM           __EDOM
17 #define EFBIG          __EFBIG
18 #define EINVAL         __EINVAL
19 #define EIO            __EIO
20 #define EMFILE         __EMFILE
21 #define ENFILE         __ENFILE
22 #define ENOLCK         __ENOLCK
23 #define ENOMEM         __ENOMEM
24 #define ENOTSUP        __ENOTSUP
25 #define EOVERFLOW      __EOVERFLOW
26 #define ERANGE         __ERANGE
27 #define ESTAT          __ESTAT
28 #define EWOULDBLOCK    __EWOULDBLOCK
29 #define EAGAIN         __EAGAIN
30 
31 // target specific errors below
32 
33 #endif
34