![](https://csdnimg.cn/release/download_crawler_static/88123548/bg14.jpg)
During execution of brk() or sbrk() (see brk(2)), or
one of the exec family of functions, a program asks for
more space than the system is able to supply. This is
not a temporary condition; the maximum size is a
system parameter. On some architectures, the error
may also occur if the arrangement of text, data, and
stack segments requires too many segmentation
registers, or if there is not enough swap space during
the fork(2) function. If this error occurs on a resource
associated with Remote File Sharing (RFS), it indicates
a memory depletion which may be temporary,
dependent on system activity at the time the call was
invoked.
13 EACCES Permission denied
An attempt was made to access a file in a way
forbidden by the protection system.
14 EFAULT Bad address
The system encountered a hardware fault in attempting
to use an argument of a routine. For example, errno
potentially may be set to EFAULT any time a routine
that takes a pointer argument is passed an invalid
address, if the system can detect the condition. Because
systems will differ in their ability to reliably detect a
bad address, on some implementations passing a bad
address to a routine will result in undefined behavior.
15 ENOTBLK Block device required
A non-block device or file was mentioned where a
block device was required (for example, in a call to the
mount(2) function).
16 EBUSY Device busy
An attempt was made to mount a device that was
already mounted or an attempt was made to unmount
a device on which there is an active file (open file,
current directory, mounted-on file, active text segment).
It will also occur if an attempt is made to enable
accounting when it is already enabled. The device or
resource is currently unavailable. EBUSY is also used by
mutexes, semaphores, condition variables, and r/w
locks, to indicate that a lock is held, and by the
processor control function P_ONLINE.
17 EEXIST File exists
Intro(2)
20 man pages section 2: System Calls • Last Revised 5 Nov 2001