Errno Error Codes contains the defines for the errno error codes.
Macro Definition Documentation#
EPERM#
#define EPERM
Value:1
Not owner.
ENOENT#
#define ENOENT
Value:2
No such file or directory.
ESRCH#
#define ESRCH
Value:3
No such process.
EINTR#
#define EINTR
Value:4
Interrupted system call.
EIO#
#define EIO
Value:5
I/O error.
ENXIO#
#define ENXIO
Value:6
No such device or address.
E2BIG#
#define E2BIG
Value:7
Arguments list too long.
ENOEXEC#
#define ENOEXEC
Value:8
Exec format error.
EBADF#
#define EBADF
Value:9
Bad file number.
ECHILD#
#define ECHILD
Value:10
No children.
EAGAIN#
#define EAGAIN
Value:11
No more processes.
ENOMEM#
#define ENOMEM
Value:12
Not enough space.
EACCES#
#define EACCES
Value:13
Permission denied.
EFAULT#
#define EFAULT
Value:14
Bad address.
ENOTBLK#
#define ENOTBLK
Value:15
Block device required.
EBUSY#
#define EBUSY
Value:16
Device or resource busy.
EEXIST#
#define EEXIST
Value:17
File exists.
EXDEV#
#define EXDEV
Value:18
Cross-device link.
ENODEV#
#define ENODEV
Value:19
No such device.
ENOTDIR#
#define ENOTDIR
Value:20
Not a directory.
EISDIR#
#define EISDIR
Value:21
Is a directory.
EINVAL#
#define EINVAL
Value:22
Invalid argument.
ENFILE#
#define ENFILE
Value:23
Too many open files in system.
EMFILE#
#define EMFILE
Value:24
File descriptor value too large.
ENOTTY#
#define ENOTTY
Value:25
Not a character device.
ETXTBSY#
#define ETXTBSY
Value:26
Text file busy.
EFBIG#
#define EFBIG
Value:27
File too large.
ENOSPC#
#define ENOSPC
Value:28
No space left on device.
ESPIPE#
#define ESPIPE
Value:29
Illegal seek.
EROFS#
#define EROFS
Value:30
Read-only file system.
EMLINK#
#define EMLINK
Value:31
Too many links.
EPIPE#
#define EPIPE
Value:32
Broken pipe.
EDOM#
#define EDOM
Value:33
Mathematics argument out of domain of function.
ERANGE#
#define ERANGE
Value:34
Result too large.
ENOMSG#
#define ENOMSG
Value:35
No message of desired type.
EIDRM#
#define EIDRM
Value:36
Identifier removed.
EDEADLK#
#define EDEADLK
Value:45
Deadlock.
ENOLCK#
#define ENOLCK
Value:46
No lock.
ENOSTR#
#define ENOSTR
Value:60
Not a stream.
ENODATA#
#define ENODATA
Value:61
No data (for no delay io)
ETIME#
#define ETIME
Value:62
Stream ioctl timeout.
ENOSR#
#define ENOSR
Value:63
No stream resources.
ENOLINK#
#define ENOLINK
Value:67
Virtual circuit is gone.
EPROTO#
#define EPROTO
Value:71
Protocol error.
EMULTIHOP#
#define EMULTIHOP
Value:74
Multihop attempted.
EBADMSG#
#define EBADMSG
Value:77
Bad message.
EFTYPE#
#define EFTYPE
Value:79
Inappropriate file type or format.
ENOSYS#
#define ENOSYS
Value:88
Function not implemented.
ENOTEMPTY#
#define ENOTEMPTY
Value:90
Directory not empty.
ENAMETOOLONG#
#define ENAMETOOLONG
Value:91
File or path name too long.
ELOOP#
#define ELOOP
Value:92
Too many symbolic links.
EOPNOTSUPP#
#define EOPNOTSUPP
Value:95
Operation not supported on socket.
EPFNOSUPPORT#
#define EPFNOSUPPORT
Value:96
Protocol family not supported.
ECONNRESET#
#define ECONNRESET
Value:104
Connection reset by peer.
ENOBUFS#
#define ENOBUFS
Value:105
No buffer space available.
EAFNOSUPPORT#
#define EAFNOSUPPORT
Value:106
Address family not supported by protocol family.
EPROTOTYPE#
#define EPROTOTYPE
Value:107
Protocol wrong type for socket.
ENOTSOCK#
#define ENOTSOCK
Value:108
Socket operation on non-socket.
ENOPROTOOPT#
#define ENOPROTOOPT
Value:109
Protocol not available.
ESHUTDOWN#
#define ESHUTDOWN
Value:110
Can't send after socket shutdown.
ECONNREFUSED#
#define ECONNREFUSED
Value:111
Connection refused.
EADDRINUSE#
#define EADDRINUSE
Value:112
Address already in use.
ECONNABORTED#
#define ECONNABORTED
Value:113
Software caused connection abort.
ENETUNREACH#
#define ENETUNREACH
Value:114
Network is unreachable.
ENETDOWN#
#define ENETDOWN
Value:115
Network interface is not configured.
ETIMEDOUT#
#define ETIMEDOUT
Value:116
Connection timed out.
EHOSTDOWN#
#define EHOSTDOWN
Value:117
Host is down.
EHOSTUNREACH#
#define EHOSTUNREACH
Value:118
Host is unreachable.
EINPROGRESS#
#define EINPROGRESS
Value:119
Connection already in progress.
EALREADY#
#define EALREADY
Value:120
Socket already connected.
EDESTADDRREQ#
#define EDESTADDRREQ
Value:121
Destination address required.
EMSGSIZE#
#define EMSGSIZE
Value:122
Message too long.
EPROTONOSUPPORT#
#define EPROTONOSUPPORT
Value:123
Unknown protocol.
ESOCKTNOSUPPORT#
#define ESOCKTNOSUPPORT
Value:124
Socket type not supported.
EADDRNOTAVAIL#
#define EADDRNOTAVAIL
Value:125
Address not available.
ENETRESET#
#define ENETRESET
Value:126
Connection aborted by network.
EISCONN#
#define EISCONN
Value:127
Socket is already connected.
ENOTCONN#
#define ENOTCONN
Value:128
Socket is not connected.
ETOOMANYREFS#
#define ETOOMANYREFS
Value:129
Too many references: can't splice.
ENOTSUP#
#define ENOTSUP
Value:134
Not supported.
EILSEQ#
#define EILSEQ
Value:138
Illegal byte sequence.
EOVERFLOW#
#define EOVERFLOW
Value:139
Value too large for defined data type.
ECANCELED#
#define ECANCELED
Value:140
Operation canceled.
ENOTRECOVERABLE#
#define ENOTRECOVERABLE
Value:141
State not recoverable.
EOWNERDEAD#
#define EOWNERDEAD
Value:142
Previous owner died.
EWOULDBLOCK#
#define EWOULDBLOCK
Value:EAGAIN
Operation would block.