Small rearrangement of text under NOTES.

This commit is contained in:
Michael Kerrisk 2007-05-21 07:53:35 +00:00
parent 71162f2e89
commit 206ed58741
1 changed files with 7 additions and 8 deletions

View File

@ -67,20 +67,19 @@ it returns a non-zero value.
.SH "CONFORMING TO"
SVr4, 4.3BSD, C89, C99, POSIX.1-2001.
.SH NOTES
.\" FIXME .SS Linux Notes here, and grammar in this sentence
Since glibc 2.2.3,
.BR atexit ()
(and
.BR on_exit (3))
can be used to within a shared library to establish functions
that are called when the shared library is unloaded.
.PP
Functions registered using
.BR atexit ()
(and
.BR on_exit (3))
are not called if a process terminates abnormally because
of the delivery of a signal.
.SS "Linux Notes"
Since glibc 2.2.3,
.BR atexit ()
(and
.BR on_exit (3))
can be used within a shared library to establish functions
that are called when the shared library is unloaded.
.SH EXAMPLE
.nf
#include <stdio.h>