diff options
| author | armink <[email protected]> | 2017-08-07 13:15:46 +0800 |
|---|---|---|
| committer | armink <[email protected]> | 2017-08-07 13:15:46 +0800 |
| commit | 5b35327966ed2c05bef594388d3d8ad049606f81 (patch) | |
| tree | 674ccf224191f9c685c488bea830f392cc70d156 /components | |
| parent | 30f272e221b0661a265bdcf90fdbfd7f5b48d8c4 (diff) | |
[Libc] Add some errno to dlib.
Diffstat (limited to 'components')
| -rw-r--r-- | components/libc/dlib/sys/errno.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/components/libc/dlib/sys/errno.h b/components/libc/dlib/sys/errno.h index ee877c9006..f96b899b45 100644 --- a/components/libc/dlib/sys/errno.h +++ b/components/libc/dlib/sys/errno.h @@ -50,6 +50,7 @@ #define EPERM 1 /* Not super-user */ #define ESRCH 3 /* No such process */ #define EINTR 4 /* Interrupted system call */ +#define EACCES 13 /* Permission denied */ #define EFAULT 14 /* Bad address */ #define ENFILE 23 /* Too many open files in system */ #define ERANGE 34 /* Math result not representable */ @@ -60,11 +61,13 @@ #define EOPNOTSUPP 95 /* Operation not supported on transport endpoint */ #define EAFNOSUPPORT 97 /* Address family not supported by protocol */ #define EADDRINUSE 98 /* Address already in use */ +#define EADDRNOTAVAIL 99 /* Cannot assign requested address */ #define ENETDOWN 100 /* Network is down */ #define ENETUNREACH 101 /* Network is unreachable */ #define ECONNABORTED 103 /* Software caused connection abort */ #define ECONNRESET 104 /* Connection reset by peer */ #define ENOBUFS 105 /* No buffer space available */ +#define EISCONN 106 /* Transport endpoint is already connected */ #define ENOTCONN 107 /* Transport endpoint is not connected */ #define EINPROGRESS 115 /* Operation now in progress */ #define ETIMEDOUT 116 /* Connection timed out */ |
