intro(2) UNIX System V(Application Compatibility Package) intro(2)
NAME
intro
Errnos
This section describes all the system calls. Many of these calls have
one or more error returns. An error condition is indicated by an
otherwise impossible returned value which is almost always -1 or the NULL
pointer. The individual descriptions specify the details. The following
is a complete list of the error names and their descriptions.
EACCES Search permission is denied for a component of the
path prefix.
EDEADLK A process' attempt to lock a file region would cause
a deadlock between processes vying for control of
that region.
EEXIST The named file exists.
EFAULT buf or path points to an invalid address.
EFAULT path points outside the allocated address space of
the process.
EINVAL An invalid argument was specified mentioning an
undefined signal in a call to the signal or kill
routine. Also set by the functions described in the
math package (3M).
EINTR A signal was caught during the system call.
EISNAM A XENIX name file (semaphore, shared data, and so on)
was specified when not expected.
ELOOP Too many symbolic links were encountered in
translating path.
EMULTIHOP Components of path require hopping to multiple remote
machines.
ENAMETOOLONG The length of the path argument exceeds {PATHMAX},
or the length of a path component exceeds {NAMEMAX}
while (POSIXNOTRUNC) is in effect.
ENAVAIL An opensem(2), waitsem(2) or sigsem(2) was issued to
a XENIX semaphore that has not been initialized by a
call to creatsem(2). A sigsem was issued to a XENIX
semaphore out of sequence; that is, before the
process has issued the corresponding waitsem to the
semaphore. An nbwaitsem was issued to a semaphore
guarding a resource that is currently in use by
another process. The semaphore that a process was
10/89 Page 1
intro(2) UNIX System V(Application Compatibility Package) intro(2)
waiting on has been left in an inconsistent state
when the process controlling the semaphore exited
without relinquishing control properly; that is,
without issuing a waitsem on the semaphore.
ENOENT The named file does not exist or is the null
pathname.
ENOENT A component of the path prefix does not exist or is a
null pathname.
ENOLCK Cannot allocate a record lock for fcntl or locking.
ENOLINK path points to a remote machine and the link to that
machine is no longer active.
ENOSPC No space is available.
ENOTDIR A component of the path prefix is not a directory.
ENOTNAM Not available. A creatsem, opensem(2), waitsem(2),
or sigsem(2) was issued using and invalid XENIX
semaphore identifier. Or, a process attempted a
sdget(2) on a file that exists but is not shared data
type.
EOVERFLOW A component is too large to store in the structure
pointed to by buf. does not exist or is a null
pathname.
EPERM The effective user ID of the process is not super-
user.
EROFS The directory in which the file is to be created is
located on a read-only file system.
Page 2 10/89