Scroll to navigation

<errno.h>(0P) POSIX Programmer's Manual <errno.h>(0P)

NAME

errno.h - system error numbers

SYNOPSIS

#include <errno.h>

DESCRIPTION

Some of the functionality described on this reference page extends the ISO C standard. Any conflict between the requirements described here and the ISO C standard is unintentional. This volume of IEEE Std 1003.1-2001 defers to the ISO C standard.

The ISO C standard only requires the symbols [EDOM], [EILSEQ], and [ERANGE] to be defined.

The <errno.h> header shall provide a declaration for errno and give positive values for the following symbolic constants. Their values shall be unique except as noted below.

Argument list too long.
Permission denied.
Address in use.
Address not available.
Address family not supported.
Resource unavailable, try again (may be the same value as [EWOULDBLOCK]).
Connection already in progress.
Bad file descriptor.
Bad message.
Device or resource busy.
Operation canceled.
No child processes.
Connection aborted.
Connection refused.
Connection reset.
Resource deadlock would occur.
Destination address required.
Mathematics argument out of domain of function.
Reserved.
File exists.
Bad address.
File too large.
Host is unreachable.
Identifier removed.
Illegal byte sequence.
Operation in progress.
Interrupted function.
Invalid argument.
I/O error.
Socket is connected.
Is a directory.
Too many levels of symbolic links.
Too many open files.
Too many links.
Message too large.
Reserved.
Filename too long.
Network is down.
Connection aborted by network.
Network unreachable.
Too many files open in system.
No buffer space available.
No message is available on the STREAM head read queue.
No such device.
No such file or directory.
Executable file format error.
No locks available.
Reserved.
Not enough space.
No message of the desired type.
Protocol not available.
No space left on device.
No STREAM resources.
Not a STREAM.
Function not supported.
The socket is not connected.
Not a directory.
Directory not empty.
Not a socket.
Not supported.
Inappropriate I/O control operation.
No such device or address.
Operation not supported on socket.
Value too large to be stored in data type.
Operation not permitted.
Broken pipe.
Protocol error.

Protocol not supported.

Protocol wrong type for socket.
Result too large.
Read-only file system.
Invalid seek.
No such process.
Reserved.
Stream ioctl() timeout.
Connection timed out.
Text file busy.
Operation would block (may be the same value as [EAGAIN]).
Cross-device link.

The following sections are informative.

APPLICATION USAGE

Additional error numbers may be defined on conforming systems; see the System Interfaces volume of IEEE Std 1003.1-2001.

RATIONALE

None.

FUTURE DIRECTIONS

None.

SEE ALSO

The System Interfaces volume of IEEE Std 1003.1-2001, Section 2.3, Error Numbers

COPYRIGHT

Portions of this text are reprinted and reproduced in electronic form from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2003 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between this version and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html .

2003 IEEE/The Open Group