All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] syslog.3: ATTRIBUTES: Note functions that are thread safe with exceptions
@ 2014-07-09  9:29 Peng Haitao
       [not found] ` <1404898196-3437-1-git-send-email-penght-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Peng Haitao @ 2014-07-09  9:29 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w
  Cc: carlos-v2tUB8YBRSi3e3T8WW9gsA, qianl.fnst-BthXqXjhjHXQFUHtdCDX3A,
	linux-man-u79uwXL29TY76Z2rM5mHXA

The functions openlog() and closelog() are thread safe.
The functions syslog() and vsyslog() are thread safe with exceptions.

Signed-off-by: Peng Haitao <penght-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
---
 man3/syslog.3 | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/man3/syslog.3 b/man3/syslog.3
index 4c77ab4..94b870b 100644
--- a/man3/syslog.3
+++ b/man3/syslog.3
@@ -249,6 +249,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 (),
-- 
1.9.3

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-07-10 10:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-09  9:29 [PATCH] syslog.3: ATTRIBUTES: Note functions that are thread safe with exceptions Peng Haitao
     [not found] ` <1404898196-3437-1-git-send-email-penght-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2014-07-10 10:27   ` Michael Kerrisk (man-pages)

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.