aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeng Haitao <penght@cn.fujitsu.com>2014-07-09 17:29:56 +0800
committerMichael Kerrisk <mtk.manpages@gmail.com>2015-02-27 13:57:20 +0100
commita2e554cc3ad3f2554411cbdfb0897cfb056966db (patch)
tree52c384edff9ed9966c778310992052599bcb2358
parentbdb8000832593b82e9dc345ce65d7028ebb77cff (diff)
downloadman-pages-a2e554cc3ad3f2554411cbdfb0897cfb056966db.tar.gz
syslog.3: ATTRIBUTES: Note functions that are thread safe with exceptions
The functions openlog() and closelog() are thread safe. The functions syslog() and vsyslog() are thread safe with exceptions. Signed-off-by: Peng Haitao <penght@cn.fujitsu.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man3/syslog.317
1 files changed, 17 insertions, 0 deletions
diff --git a/man3/syslog.3 b/man3/syslog.3
index ef6cd2fb58..26ca4fc34f 100644
--- a/man3/syslog.3
+++ b/man3/syslog.3
@@ -247,6 +247,23 @@ debug-level message
The function
.BR setlogmask (3)
can be used to restrict logging to specified levels only.
+.SH ATTRIBUTES
+For an explanation of the terms used in this section, see
+.BR attributes (7).
+.TS
+allbox;
+lbw21 lb lb
+l l l.
+Interface Attribute Value
+T{
+.BR openlog (),
+.BR closelog ()
+T} Thread safety MT-Safe
+T{
+.BR syslog (),
+.BR vsyslog ()
+T} Thread safety MT-Safe env locale
+.TE
.SH CONFORMING TO
The functions
.BR openlog (),