exit.3: Note that a call to execve() clears exit handler registrations

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2013-02-13 21:27:05 +01:00
parent 4a38498543
commit 5eab557e9f
1 changed files with 7 additions and 1 deletions

View File

@ -20,7 +20,7 @@
.\" Formatted or processed versions of this manual, if unaccompanied by
.\" the source, must acknowledge the copyright and authors of this work.
.\"
.TH EXIT 3 2009-09-20 "Linux" "Linux Programmer's Manual"
.TH EXIT 3 2013-02-14 "Linux" "Linux Programmer's Manual"
.SH NAME
exit \- cause normal process termination
.SH SYNOPSIS
@ -94,6 +94,12 @@ calls either
.BR exit ()
or
.BR longjmp (3).
Note that a call to
.BR execve (2)
removes registrations created using
.BR atexit (3)
and
.BR on_exit (3).
.LP
The use of
.B EXIT_SUCCESS