[Libc] Add some errno to `armlibc/sys/errno.h`.
This commit is contained in:
parent
db1eb96a49
commit
e515408d00
|
@ -50,6 +50,7 @@
|
||||||
#define EPERM 1 /* Not super-user */
|
#define EPERM 1 /* Not super-user */
|
||||||
#define ESRCH 3 /* No such process */
|
#define ESRCH 3 /* No such process */
|
||||||
#define EINTR 4 /* Interrupted system call */
|
#define EINTR 4 /* Interrupted system call */
|
||||||
|
#define EACCES 13 /* Permission denied */
|
||||||
#define EFAULT 14 /* Bad address */
|
#define EFAULT 14 /* Bad address */
|
||||||
#define ENFILE 23 /* Too many open files in system */
|
#define ENFILE 23 /* Too many open files in system */
|
||||||
#define ERANGE 34 /* Math result not representable */
|
#define ERANGE 34 /* Math result not representable */
|
||||||
|
@ -66,6 +67,7 @@
|
||||||
#define ECONNABORTED 103 /* Software caused connection abort */
|
#define ECONNABORTED 103 /* Software caused connection abort */
|
||||||
#define ECONNRESET 104 /* Connection reset by peer */
|
#define ECONNRESET 104 /* Connection reset by peer */
|
||||||
#define ENOBUFS 105 /* No buffer space available */
|
#define ENOBUFS 105 /* No buffer space available */
|
||||||
|
#define EISCONN 106 /* Transport endpoint is already connected */
|
||||||
#define ENOTCONN 107 /* Transport endpoint is not connected */
|
#define ENOTCONN 107 /* Transport endpoint is not connected */
|
||||||
#define EINPROGRESS 115 /* Operation now in progress */
|
#define EINPROGRESS 115 /* Operation now in progress */
|
||||||
#define ETIMEDOUT 116 /* Connection timed out */
|
#define ETIMEDOUT 116 /* Connection timed out */
|
||||||
|
|
Loading…
Reference in New Issue