summaryrefslogtreecommitdiffstats
path: root/man3/on_exit.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/on_exit.3')
-rw-r--r--man3/on_exit.318
1 files changed, 9 insertions, 9 deletions
diff --git a/man3/on_exit.3 b/man3/on_exit.3
index 6d1494e0c..4ab7aa1be 100644
--- a/man3/on_exit.3
+++ b/man3/on_exit.3
@@ -9,7 +9,7 @@
.\" 386BSD man pages
.\" Modified 1993-04-02, David Metcalfe
.\" Modified 1993-07-25, Rik Faith (faith@cs.unc.edu)
-.TH on_exit 3 2023-02-05 "Linux man-pages 6.03"
+.TH on_exit 3 2023-07-20 "Linux man-pages 6.05.01"
.SH NAME
on_exit \- register a function to be called at normal process termination
.SH LIBRARY
@@ -70,27 +70,27 @@ it returns a nonzero value.
.SH ATTRIBUTES
For an explanation of the terms used in this section, see
.BR attributes (7).
-.ad l
-.nh
.TS
allbox;
lbx lb lb
l l l.
Interface Attribute Value
T{
+.na
+.nh
.BR on_exit ()
T} Thread safety MT-Safe
.TE
-.hy
-.ad
.sp 1
.SH STANDARDS
-This function comes from SunOS 4, but is also present in glibc.
-It no longer occurs in Solaris (SunOS 5).
-Portable application should avoid this function, and use the standard
+None.
+.SH HISTORY
+SunOS 4, glibc.
+Removed in Solaris (SunOS 5).
+Use the standard
.BR atexit (3)
instead.
-.SH NOTES
+.SH CAVEATS
By the time
.I function
is executed, stack