diff options
| author | armink <[email protected]> | 2017-08-20 10:47:53 +0800 |
|---|---|---|
| committer | armink <[email protected]> | 2017-08-20 10:47:53 +0800 |
| commit | e515408d00ec9e7cda8cb028f0b6d450eca77b23 (patch) | |
| tree | d5af6137101e4d43478643e4ca50da6f69c373d9 /components/libc | |
| parent | db1eb96a49131421a1a7f1a916b0a51de5591089 (diff) | |
[Libc] Add some errno to `armlibc/sys/errno.h`.
Diffstat (limited to 'components/libc')
| -rw-r--r-- | components/libc/armlibc/sys/errno.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/components/libc/armlibc/sys/errno.h b/components/libc/armlibc/sys/errno.h index 6842877c4b..0aba5f5e19 100644 --- a/components/libc/armlibc/sys/errno.h +++ b/components/libc/armlibc/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 */ @@ -66,6 +67,7 @@ #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 */ |
