12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- #ifndef ERRNO_H__
- #define ERRNO_H__
- #ifdef __cplusplus
- extern "C" {
- #endif
- #define EBADF 9
- #define ENOMEM 12
- #define EFAULT 14
- #define EINVAL 22
- #define EMFILE 24
- #define EAGAIN 35
- #define EPROTONOSUPPORT 43
- #define EOPNOTSUPP 45
- #define EAFNOSUPPORT 47
- #define EADDRINUSE 48
- #define ENETDOWN 50
- #define ENETUNREACH 51
- #define ECONNRESET 54
- #define EISCONN 56
- #define ENOTCONN 57
- #define ETIMEDOUT 60
- #define EINPROGRESS 115
- #define ECANCELED 125
- int * __error(void)
- void set_errno(int)
- #undef errno
- #define errno (* __error())
- #ifdef __cplusplus
- }
- #endif
- #endif
|