|
FreeNOS
|
Go to the source code of this file.
Macros | |
Error codes | |
Functions that use errno variable can set the errno value to any of these values.
| |
| #define | ESUCCESS 0 |
| Reports a success operation. More... | |
| #define | E2BIG -1 |
| Argument list too long. More... | |
| #define | EACCES -2 |
| Permission denied. More... | |
| #define | EADDRINUSE -3 |
| Address in use. More... | |
| #define | EADDRNOTAVAIL -4 |
| Address not available. More... | |
| #define | EAFNOSUPPORT -5 |
| Address family not supported. More... | |
| #define | EAGAIN -6 |
| Resource unavailable, try again (may be the same value as [EWOULDBLOCK]). More... | |
| #define | EALREADY -7 |
| Connection already in progress. More... | |
| #define | EBADF -8 |
| Bad file descriptor. More... | |
| #define | EBADMSG -9 |
| Bad message. More... | |
| #define | EBUSY -10 |
| Device or resource busy. More... | |
| #define | ECANCELED -11 |
| Operation canceled. More... | |
| #define | ECHILD -12 |
| No child processes. More... | |
| #define | ECONNABORTED -13 |
| Connection aborted. More... | |
| #define | ECONNREFUSED -14 |
| Connection refused. More... | |
| #define | ECONNRESET -15 |
| Connection reset. More... | |
| #define | EDEADLK -16 |
| Resource deadlock would occur. More... | |
| #define | EDESTADDRREQ -17 |
| Destination address required. More... | |
| #define | EDOM -18 |
| Mathematics argument out of domain of function. More... | |
| #define | EDQUOT -19 |
| Reserved. More... | |
| #define | EEXIST -20 |
| File exists. More... | |
| #define | EFAULT -21 |
| Bad address. More... | |
| #define | EFBIG -22 |
| File too large. More... | |
| #define | EHOSTUNREACH -23 |
| Host is unreachable. More... | |
| #define | EIDRM -24 |
| Identifier removed. More... | |
| #define | EILSEQ -25 |
| Illegal byte sequence. More... | |
| #define | EINPROGRESS -26 |
| Operation in progress. More... | |
| #define | EINTR -27 |
| Interrupted function. More... | |
| #define | EINVAL -28 |
| Invalid argument. More... | |
| #define | EIO -29 |
| I/O error. More... | |
| #define | EISCONN -30 |
| Socket is connected. More... | |
| #define | EISDIR -31 |
| Is a directory. More... | |
| #define | ELOOP -32 |
| Too many levels of symbolic links. More... | |
| #define | EMFILE -33 |
| File descriptor value too large. More... | |
| #define | EMLINK -34 |
| Too many links. More... | |
| #define | EMSGSIZE -35 |
| Message too large. More... | |
| #define | EMULTIHOP -36 |
| Reserved. More... | |
| #define | ENAMETOOLONG -37 |
| Filename too long. More... | |
| #define | ENETDOWN -38 |
| Network is down. More... | |
| #define | ENETRESET -39 |
| Connection aborted by network. More... | |
| #define | ENETUNREACH -40 |
| Network unreachable. More... | |
| #define | ENFILE -41 |
| Too many files open in system. More... | |
| #define | ENOBUFS -42 |
| No buffer space available. More... | |
| #define | ENODATA -43 |
| No message is available on the STREAM head read queue. More... | |
| #define | ENODEV -44 |
| No such device. More... | |
| #define | ENOENT -45 |
| No such file or directory. More... | |
| #define | ENOEXEC -46 |
| Executable file format error. More... | |
| #define | ENOLCK -47 |
| No locks available. More... | |
| #define | ENOLINK -48 |
| Reserved. More... | |
| #define | ENOMEM -49 |
| Not enough space. More... | |
| #define | ENOMSG -50 |
| No message of the desired type. More... | |
| #define | ENOPROTOOPT -51 |
| Protocol not available. More... | |
| #define | ENOSPC -52 |
| No space left on device. More... | |
| #define | ENOSR -53 |
| No STREAM resources. More... | |
| #define | ENOSTR -54 |
| Not a STREAM. More... | |
| #define | ENOSYS -55 |
| Function not supported. More... | |
| #define | ENOTCONN -56 |
| The socket is not connected. More... | |
| #define | ENOTDIR -57 |
| Not a directory. More... | |
| #define | ENOTEMPTY -58 |
| Directory not empty. More... | |
| #define | ENOTRECOVERABLE -59 |
| State not recoverable. More... | |
| #define | ENOTSOCK -60 |
| Not a socket. More... | |
| #define | ENOTSUP -61 |
| Not supported (may be the same value as [EOPNOTSUPP]). More... | |
| #define | ENOTTY -62 |
| Inappropriate I/O control operation. More... | |
| #define | ENXIO -63 |
| No such device or address. More... | |
| #define | EOPNOTSUPP -64 |
| Operation not supported on socket (may be the same value as [ENOTSUP]). More... | |
| #define | EOVERFLOW -65 |
| Value too large to be stored in data type. More... | |
| #define | EOWNERDEAD -66 |
| Previous owner died. More... | |
| #define | EPERM -67 |
| Operation not permitted. More... | |
| #define | EPIPE -68 |
| Broken pipe. More... | |
| #define | EPROTO -69 |
| Protocol error. More... | |
| #define | EPROTONOSUPPORT -70 |
| Protocol not supported. More... | |
| #define | EPROTOTYPE -71 |
| Protocol wrong type for socket. More... | |
| #define | ERANGE -72 |
| Result too large. More... | |
| #define | EROFS -73 |
| Read-only file system. More... | |
| #define | ESPIPE -74 |
| Invalid seek. More... | |
| #define | ESRCH -75 |
| No such process. More... | |
| #define | ESTALE -76 |
| Reserved. More... | |
| #define | ETIME -77 |
| Stream ioctl() timeout. More... | |
| #define | ETIMEDOUT -78 |
| Connection timed out. More... | |
| #define | ETXTBSY -79 |
| Text file busy. More... | |
| #define | EWOULDBLOCK -80 |
| Operation would block (may be the same value as [EAGAIN]). More... | |
| #define | EXDEV -81 |
| Cross-device link. More... | |
| #define | ERESTART (1 << 17) |
| Triggers a restart of all filesystem requests. More... | |
| #define | ELAST ERESTART |
| Last defined error value (do not use). More... | |
Variables | |
| C int | errno |
| The lvalue errno is used by many functions to return error values. More... | |
| C char * | error_map [] |
| Contains a array of character strings, representing errno values. More... | |
1.8.17