sync up to hp300/hp300/trap.c 7.26
[unix-history] / usr / src / usr.sbin / sendmail / doc / syslog.3
index 27569c0..5282266 100644 (file)
@@ -1,26 +1,28 @@
-.TH syslog 3
-.\"    @(#)syslog.3    1.1             %G%
+.TH SYSLOG 3
+.\"    @(#)syslog.3    4.1             %G%
 .SH NAME
 syslog, openlog, closelog -- control system log
 .SH SYNOPSIS
 # include <syslog.h>
 .SH NAME
 syslog, openlog, closelog -- control system log
 .SH SYNOPSIS
 # include <syslog.h>
-
+.PP
 openlog(ident, logstat)
 .br
 char *ident;
 openlog(ident, logstat)
 .br
 char *ident;
-
+.PP
 syslog(priority, message, parameters ... )
 .br
 char *message;
 syslog(priority, message, parameters ... )
 .br
 char *message;
-
+.PP
 closelog()
 .SH DESCRIPTION
 .I Syslog
 closelog()
 .SH DESCRIPTION
 .I Syslog
-writes the
+arranges to
+write the
 .I message
 .I message
-onto the log file
-.I /dev/log.
-The message is tagged with priority
+onto the
+system log maintained by
+.IR syslog (8).
+The message is tagged with
 .I priority.
 The message looks like a
 .I printf(3)
 .I priority.
 The message looks like a
 .I printf(3)
@@ -43,6 +45,7 @@ Parameters are
 which is prepended to every message,
 and
 .I logstat
 which is prepended to every message,
 and
 .I logstat
+which is
 a bit field indicating special status;
 current values are:
 .IP LOG_PID \w'LOG_PID'u+3
 a bit field indicating special status;
 current values are:
 .IP LOG_PID \w'LOG_PID'u+3