summaryrefslogtreecommitdiffstats
path: root/upstream/opensuse-tumbleweed/man3/on_exit.3
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-17 10:51:52 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-17 10:51:52 +0000
commit4ad94864781f48b1a4b77f9cfb934622bf756ba1 (patch)
tree3900955c1886e6d2570fea7125ee1f01bafe876d /upstream/opensuse-tumbleweed/man3/on_exit.3
parentAdding upstream version 4.22.0. (diff)
downloadmanpages-l10n-4ad94864781f48b1a4b77f9cfb934622bf756ba1.tar.xz
manpages-l10n-4ad94864781f48b1a4b77f9cfb934622bf756ba1.zip
Adding upstream version 4.23.0.upstream/4.23.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'upstream/opensuse-tumbleweed/man3/on_exit.3')
-rw-r--r--upstream/opensuse-tumbleweed/man3/on_exit.313
1 files changed, 6 insertions, 7 deletions
diff --git a/upstream/opensuse-tumbleweed/man3/on_exit.3 b/upstream/opensuse-tumbleweed/man3/on_exit.3
index 4ab7aa1b..517c6e2e 100644
--- a/upstream/opensuse-tumbleweed/man3/on_exit.3
+++ b/upstream/opensuse-tumbleweed/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-07-20 "Linux man-pages 6.05.01"
+.TH on_exit 3 2024-05-02 "Linux man-pages (unreleased)"
.SH NAME
on_exit \- register a function to be called at normal process termination
.SH LIBRARY
@@ -18,15 +18,15 @@ Standard C library
.SH SYNOPSIS
.nf
.B #include <stdlib.h>
-.PP
+.P
.BI "int on_exit(void (*" function ")(int, void *), void *" arg );
.fi
-.PP
+.P
.RS -4
Feature Test Macro Requirements for glibc (see
.BR feature_test_macros (7)):
.RE
-.PP
+.P
.BR on_exit ():
.nf
Since glibc 2.19:
@@ -52,10 +52,10 @@ and the
.I arg
argument from
.BR on_exit ().
-.PP
+.P
The same function may be registered multiple times:
it is called once for each registration.
-.PP
+.P
When a child process is created via
.BR fork (2),
it inherits copies of its parent's registrations.
@@ -81,7 +81,6 @@ T{
.BR on_exit ()
T} Thread safety MT-Safe
.TE
-.sp 1
.SH STANDARDS
None.
.SH HISTORY