mirror of https://github.com/mkerrisk/man-pages
Reversed 2.04 introduction of the term "process termination function".
This commit is contained in:
parent
7704d9671e
commit
18f2ce4067
|
@ -71,7 +71,7 @@ exit status, zombie processes, signals sent, etc., see
|
|||
.LP
|
||||
The function
|
||||
.B _exit()
|
||||
is like \fBexit()\fP, but does not call any process termination
|
||||
is like \fBexit()\fP, but does not call any
|
||||
functions registered with
|
||||
.BR atexit()
|
||||
or
|
||||
|
|
|
@ -46,12 +46,12 @@ Functions so registered are called in
|
|||
the reverse order of their registration; no arguments are passed.
|
||||
.LP
|
||||
POSIX.1 requires that an implementation allow at least ATEXIT_MAX (32)
|
||||
process termination functions to be registered.
|
||||
such functions to be registered.
|
||||
The actual limit supported by an implementation can be obtained using
|
||||
.BR sysconf (3).
|
||||
.LP
|
||||
Upon a successful call to one of the exec functions,
|
||||
the registrations of all process termination functions are removed.
|
||||
all registrations are removed.
|
||||
.SH "RETURN VALUE"
|
||||
The \fBatexit()\fP function returns the value 0 if successful; otherwise
|
||||
it returns a non-zero value.
|
||||
|
|
Loading…
Reference in New Issue