Error Number
https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/errno.h.html
Defines
-
EACCES (1)
Permission denied.
-
EADDRINUSE (2)
Address in use.
-
EADDRNOTAVAIL (3)
Address not available.
-
EAFNOSUPPORT (4)
Address family not supported.
-
EAGAIN (5)
Resource unavailable, try again (may be the same value as [EWOULDBLOCK]).
-
EALREADY (6)
Connection already in progress.
-
EBADF (7)
Bad file descriptor.
-
EBADMSG (8)
Bad message.
-
EBUSY (9)
Device or resource busy.
-
ECANCELED (10)
Operation canceled.
-
ECHILD (11)
No child processes.
-
ECONNABORTED (12)
Connection aborted.
-
ECONNREFUSED (13)
Connection refused.
-
ECONNRESET (14)
Connection reset.
-
EDEADLK (15)
Resource deadlock would occur.
-
EDESTADDRREQ (16)
Destination address required.
-
EDOM (17)
Mathematics argument out of domain of function.
-
EDQUOT (18)
Reserved.
-
EEXIST (19)
File exists.
-
EFAULT (20)
Bad address.
-
EFBIG (21)
File too large.
-
EHOSTUNREACH (22)
Host is unreachable.
-
EIDRM (23)
Identifier removed.
-
EILSEQ (24)
Illegal byte sequence.
-
EINPROGRESS (25)
Operation in progress.
-
EINTR (26)
Interrupted function.
-
EINVAL (27)
Invalid argument.
-
EIO (28)
I/O error.
-
EISCONN (29)
Socket is connected.
-
EISDIR (30)
Is a directory.
-
ELOOP (31)
Too many levels of symbolic links.
-
EMFILE (32)
File descriptor value too large.
-
EMLINK (33)
Too many hard links.
-
EMSGSIZE (34)
Message too large.
-
EMULTIHOP (35)
Reserved.
-
ENAMETOOLONG (36)
Filename too long.
-
ENETDOWN (37)
Network is down.
-
ENETRESET (38)
Connection aborted by network.
-
ENETUNREACH (39)
Network unreachable.
-
ENFILE (40)
Too many files open in system.
-
ENOBUFS (41)
No buffer space available.
-
ENODEV (42)
No such device.
-
ENOENT (43)
No such file or directory.
-
ENOEXEC (44)
Executable file format error.
-
ENOLCK (45)
No locks available.
-
ENOLINK (46)
Reserved.
-
ENOMEM (47)
Not enough space.
-
ENOMSG (48)
No message of the desired type.
-
ENOPROTOOPT (49)
Protocol not available.
-
ENOSPC (50)
No space left on device.
-
ENOSYS (51)
Functionality not supported.
-
ENOTCONN (52)
The socket is not connected.
-
ENOTDIR (53)
Not a directory or a symbolic link to a directory.
-
ENOTEMPTY (54)
Directory not empty.
-
ENOTRECOVERABLE (55)
State not recoverable.
-
ENOTSOCK (56)
Not a socket.
-
ENOTSUP (57)
Not supported (may be the same value as [EOPNOTSUPP]).
-
ENOTTY (58)
Inappropriate I/O control operation.
-
ENXIO (59)
No such device or address.
-
EOPNOTSUPP (60)
Operation not supported on socket (may be the same value as [ENOTSUP]).
-
EOVERFLOW (61)
Value too large to be stored in data type.
-
EOWNERDEAD (62)
Previous owner died.
-
EPERM (63)
Operation not permitted.
-
EPIPE (64)
Broken pipe.
-
EPROTO (65)
Protocol error.
-
EPROTONOSUPPORT (66)
Protocol not supported.
-
EPROTOTYPE (67)
Protocol wrong type for socket.
-
ERANGE (68)
Result too large.
-
EROFS (69)
Read-only file system.
-
ESOCKTNOSUPPORT (70)
Socket type not supported.
-
ESPIPE (71)
Invalid seek.
-
ESRCH (72)
No such process.
-
ESTALE (73)
Reserved.
-
ETIMEDOUT (74)
Connection timed out.
-
ETXTBSY (75)
Text file busy.
-
EWOULDBLOCK (76)
Operation would block (may be the same value as [EAGAIN]).
-
EXDEV (77)
Improper hard link.
-
E2BIG (78)
Argument list too long.
-
errno (*__errno_location())
Get pointer to errno variable.
Functions
-
int *__errno_location(void)
Return the address of the calling thread’s errno.
errno is thread-local: the pointer resolves through the current thread’s TLS block. With QRT_CFG_ERRNO_ENABLE off the function returns NULL.
- Returns:
Pointer to the thread’s errno variable.