diff options
Diffstat (limited to 'upstream/opensuse-tumbleweed/man3/on_exit.3')
-rw-r--r-- | upstream/opensuse-tumbleweed/man3/on_exit.3 | 13 |
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 |