aboutsummaryrefslogtreecommitdiffstats
path: root/man3
diff options
context:
space:
mode:
authorZeng Linggang <zenglg.jy@cn.fujitsu.com>2015-04-29 18:09:23 +0800
committerMichael Kerrisk <mtk.manpages@gmail.com>2015-04-29 21:26:30 +0200
commitd388b47f9bb59bccf8c208d52aaa284a918b41c3 (patch)
tree60376e519fa02bf2524803749e5eb261c64d736c /man3
parent1ef777eaf00c60474f356e947f9c8dd2d42e0587 (diff)
downloadman-pages-d388b47f9bb59bccf8c208d52aaa284a918b41c3.tar.gz
on_exit.3: ATTRIBUTES: Note function that is thread-safe
The marking matches glibc marking. The marking of functions in glibc is: - on_exit: MT-Safe Signed-off-by: Zeng Linggang <zenglg.jy@cn.fujitsu.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man3')
-rw-r--r--man3/on_exit.313
1 files changed, 13 insertions, 0 deletions
diff --git a/man3/on_exit.3 b/man3/on_exit.3
index 31d2b823a7..2502f1395b 100644
--- a/man3/on_exit.3
+++ b/man3/on_exit.3
@@ -78,6 +78,19 @@ The
.BR on_exit ()
function returns the value 0 if successful; otherwise
it returns a nonzero value.
+.SH ATTRIBUTES
+For an explanation of the terms used in this section, see
+.BR attributes (7).
+.TS
+allbox;
+lb lb lb
+l l l.
+Interface Attribute Value
+T{
+.BR on_exit ()
+T} Thread safety MT-Safe
+.TE
+
.SH CONFORMING TO
This function comes from SunOS 4, but is also present in glibc.
It no longer occurs in Solaris (SunOS 5).