diff options
Diffstat (limited to 'man3/syslog.3')
-rw-r--r-- | man3/syslog.3 | 61 |
1 files changed, 33 insertions, 28 deletions
diff --git a/man3/syslog.3 b/man3/syslog.3 index 6552fb12e..e8c9dc43e 100644 --- a/man3/syslog.3 +++ b/man3/syslog.3 @@ -15,7 +15,7 @@ .\" Modified 13 Dec 2001, Martin Schulze <joey@infodrom.org> .\" Modified 3 Jan 2002, Michael Kerrisk <mtk.manpages@gmail.com> .\" -.TH syslog 3 2023-02-05 "Linux man-pages 6.03" +.TH syslog 3 2023-07-20 "Linux man-pages 6.05.01" .SH NAME closelog, openlog, syslog, vsyslog \- send messages to the system logger .SH LIBRARY @@ -261,34 +261,55 @@ 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). -.ad l -.nh .TS allbox; lbx lb lb l l l. Interface Attribute Value T{ +.na +.nh .BR openlog (), .BR closelog () T} Thread safety MT-Safe T{ +.na +.nh .BR syslog (), .BR vsyslog () T} Thread safety MT-Safe env locale .TE -.hy -.ad .sp 1 .SH STANDARDS -The functions -.BR openlog (), -.BR closelog (), -and +.TP +.BR syslog () +.TQ +.BR openlog () +.TQ +.BR closelog () +POSIX.1-2008. +.TP +.BR vsyslog () +None. +.SH HISTORY +.TP .BR syslog () -(but not -.BR vsyslog ()) -are specified in SUSv2, POSIX.1-2001, and POSIX.1-2008. +4.2BSD, SUSv2, POSIX.1-2001. +.TP +.BR openlog () +.TQ +.BR closelog () +4.3BSD, SUSv2, POSIX.1-2001. +.\" .SH HISTORY +.\" 4.3BSD documents +.\" .BR setlogmask (). +.TP +.BR vsyslog () +4.3BSD-Reno. +.\" Of course early v* functions used the +.\" .I <varargs.h> +.\" mechanism, which is not compatible with +.\" .IR <stdarg.h> . .PP POSIX.1-2001 specifies only the .B LOG_USER @@ -310,22 +331,6 @@ value for .I option is not specified by POSIX.1-2001 or POSIX.1-2008, but is available in most versions of UNIX. -.\" .SH HISTORY -.\" A -.\" .BR syslog () -.\" function call appeared in 4.2BSD. -.\" 4.3BSD documents -.\" .BR openlog (), -.\" .BR syslog (), -.\" .BR closelog (), -.\" and -.\" .BR setlogmask (). -.\" 4.3BSD-Reno also documents -.\" .BR vsyslog (). -.\" Of course early v* functions used the -.\" .I <varargs.h> -.\" mechanism, which is not compatible with -.\" .IR <stdarg.h> . .SH NOTES The argument .I ident |