Open System Services System Calls Reference Manual (G06.25+, H06.03+)

Miscellaneous errno(5)
NAME
errno - Returns the error condition value
SYNOPSIS
#include <errno.h>
DESCRIPTION
The errno external variable contains the most recent error condition set by a function. The sym-
bolic error names returned by a function and descriptions of each error condition are shown in
the ERRORS section in the individual function reference pages. The errno.h header le con-
tains a list of all symbolic error names and a one-line description of each.
The following is a list of the symbolic error names and the error condition each name describes:
[E2BIG] Argument list too long. The sum of the number of bytes used by the new process
images argument list and environment list is greater than the allowed system
limits.
[EACCES] Permission denied. The program attempted to access a le in a way forbidden by
its le access permissions.
[EADDRINUSE]
Address in use. The program tried to allocate an address that is already allo-
cated.
[EADDRNOTAVAIL]
Cant assign requested address. The program tried to allocate an address that
does not exist or cannot be allocated.
[EAFNOSUPPORT]
Address family not supported. The program requested an address in an address
family not supported by the protocol family.
[EAGAIN] Resource temporarily unavailable. A system resource is temporarily unavailable,
and later calls to the same routine might nish normally.
[EALREADY] Operation already in progress. The program attempted to begin an operation
already in progress.
[EBADCF] C le not odd-unstructured. A C le (Guardian le code 180) is not an odd-
unstructured le.
[EBADDATA] Invalid data in buffer. A message buffer contains invalid data.
[EBADF] Bad le descriptor. A le descriptor parameter is out of range or refers to no
open le, or a read (write) request is made to a le that is open only for writing
(reading).
[EBADFILE] File type not supported. A le access error occurred, or the le is of an unsup-
ported type and cannot be opened.
[EBADMSG] An invalid message tag was found. There is no corresponding message for the
message tag.
[EBADSYS] Invalid socket call. The program specied an unrecognized node name or node
number in a socket call.
527186-003 Hewlett-Packard Company 1221