errno.2 (2010 09)
e
errno(2) errno(2)
[ECONNREFUSED]
Connection refused. No connection could be made because the target machine actively
refused it. This usually results from trying to connect to a service that is inactive on the
foreign host.
[ECONNRESET]
Connection reset by peer. A connection was forcibly closed by a peer. This normally
results from the peer executing a
shutdown() call (see shutdown (2)).
[EDEADLK] Resource deadlock would occur. A process which has locked a system resource would
have been put to sleep while attempting to access another process’ locked resource.
[EDESTADDRREQ]
Destination address required. A required address was omitted from an operation on a
socket.
[EDOM] Math argument. The argument of a function in the math package (3M) is out of the
domain of the function.
[EEXIST] File exists. An existing file was mentioned in an inappropriate context; e.g.,
link().
[EFAULT] Bad address. The system encountered a hardware fault in attempting to use an argu-
ment of a system call; can also result from passing the wrong number of parameters to a
system call. The reliable detection of this error is implementation dependent.
[EFBIG] File too large. The size of a file exceeded the maximum file size (for the file system) or
ULIMIT was exceeded (see ulimit (2)), or a bad semaphore number in a semop() call
(see semop (2)).
[EHOSTDOWN]
Host is down. A socket operation encountered a dead host. Networking activity on the
local host has not been initiated.
[EHOSTUNREACH]
No route to host. A socket operation was attempted to an unreachable host.
[EIDRM] Identifier Removed. This error is returned to processes that resume execution due to the
removal of an identifier from the file system’s name space (see msgctl (2), semctl (2), and
shmctl (2)).
[EILSEQ] Illegal byte sequence. A wide character code has been detected that does not correspond
to a valid character, or a byte sequence does not form a valid wide character code.
[EINPROGRESS]
Operation now in progress. An operation that takes a long time to complete was
attempted on a nonblocking object (see ioctl (2) and fcntl (2)).
[EINTR] Interrupted system call. An asynchronous signal (such as interrupt or quit), which the
user has elected to catch, occurred during a system call. If execution is resumed after
processing the signal, it will appear as if the interrupted system call returned this error
condition unless the system call is restarted (see signal (5)).
[EINVAL] Invalid argument. Some invalid argument (such as unmounting a device that is not
currently mounted, mentioning an undefined signal in
signal() or kill(),orreading
or writing a file for which lseek() has generated a negative pointer). Also set by the
math functions described in the (3M) entries of this manual.
[EIO] I/O error − some physical I/O error. This error may in some cases occur on a call follow-
ing the one to which it actually applies.
[EISCONN] Socket is already connected. A
connect() request was made on an already connected
socket, or, a sendto() or sendmsg() request on a connected socket specified a desti-
nation other than the connected party.
[EISDIR] Is a directory. An attempt to open a directory for writing.
[ELOOP] Too many levels of symbolic links were encountered while resolving a path name. See
fs_symlinks (5) for more information.
[EMFILE] Too many open files. No process may have more than a system-defined number of file
descriptors open at a time.
2 Hewlett-Packard Company − 2 − HP-UX 11i Version 3: September 2010