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 file 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
image’s argument list and environment list is greater than the allowed system
limits.
[EACCES] Permission denied. The program attempted to access a file in a way forbidden by
its file access permissions.
[EADDRINUSE]
Address in use. The program tried to allocate an address that is already allo-
cated.
[EADDRNOTAVAIL]
Can’t 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 finish normally.
[EALREADY] Operation already in progress. The program attempted to begin an operation
already in progress.
[EBADCF] C file not odd-unstructured. A C file (Guardian file code 180) is not an odd-
unstructured file.
[EBADDATA] Invalid data in buffer. A message buffer contains invalid data.
[EBADF] Bad file descriptor. A file descriptor parameter is out of range or refers to no
open file, or a read (write) request is made to a file that is open only for writing
(reading).
[EBADFILE] File type not supported. A file access error occurred, or the file 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 specified an unrecognized node name or node
number in a socket call.
527186-003 Hewlett-Packard Company 12−21