aboutsummaryrefslogtreecommitdiffstats
path: root/man3/syslog.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/syslog.3')
-rw-r--r--man3/syslog.313
1 files changed, 9 insertions, 4 deletions
diff --git a/man3/syslog.3 b/man3/syslog.3
index a517cbe3d1..5e9c233bb1 100644
--- a/man3/syslog.3
+++ b/man3/syslog.3
@@ -31,7 +31,7 @@
.\" Modified 13 Dec 2001, Martin Schulze <joey@infodrom.org>
.\" Modified 3 Jan 2002, Michael Kerrisk <mtk-manpages@gmx.net>
.\"
-.TH SYSLOG 3 2002-01-03 "Linux" "Linux Programmer's Manual"
+.TH SYSLOG 3 2007-07-26 "Linux" "Linux Programmer's Manual"
.SH NAME
closelog, openlog, syslog \- send messages to the system logger
.SH SYNOPSIS
@@ -43,11 +43,17 @@ closelog, openlog, syslog \- send messages to the system logger
.br
.BI "void closelog(void);"
.sp
-.B #define _BSD_SOURCE
-.br
.B #include <stdarg.h>
.sp
.BI "void vsyslog(int " priority ", const char *" format ", va_list " ap );
+.sp
+.in -4n
+Feature Test Macro Requirements for glibc (see
+.BR feature_test_macros (7)):
+.in
+.sp
+.BR vsyslog ():
+_BSD_SOURCE
.SH DESCRIPTION
.BR closelog ()
closes the descriptor being used to write to the system logger.
@@ -299,5 +305,4 @@ the following instead:
.BR logger (1),
.BR setlogmask (3),
.BR syslog.conf (5),
-.BR feature_test_macros (7),
.BR syslogd (8)