reference <stdarg.h> not <varargs.h>, and separate out the synopsis

for vsyslog(3) from the rest after <stdarg.h>, as per printf(3)/vsprintf(3)
This commit is contained in:
lukem 2001-03-14 06:12:35 +00:00
parent ecdaf852b2
commit c9cccc1354

View File

@ -1,4 +1,4 @@
.\" $NetBSD: syslog.3,v 1.9 1999/03/22 19:44:46 garbled Exp $ .\" $NetBSD: syslog.3,v 1.10 2001/03/14 06:12:35 lukem Exp $
.\" .\"
.\" Copyright (c) 1985, 1991, 1993 .\" Copyright (c) 1985, 1991, 1993
.\" The Regents of the University of California. All rights reserved. .\" The Regents of the University of California. All rights reserved.
@ -33,7 +33,7 @@
.\" .\"
.\" @(#)syslog.3 8.1 (Berkeley) 6/4/93 .\" @(#)syslog.3 8.1 (Berkeley) 6/4/93
.\" .\"
.Dd June 4, 1993 .Dd March 14, 2001
.Dt SYSLOG 3 .Dt SYSLOG 3
.Os .Os
.Sh NAME .Sh NAME
@ -47,17 +47,17 @@
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <syslog.h> .Fd #include <syslog.h>
.Fd #include <varargs.h>
.Ft void .Ft void
.Fn syslog "int priority" "const char *message" "..." .Fn syslog "int priority" "const char *message" "..."
.Ft void .Ft void
.Fn vsyslog "int priority" "const char *message" "va_list args"
.Ft void
.Fn openlog "const char *ident" "int logopt" "int facility" .Fn openlog "const char *ident" "int logopt" "int facility"
.Ft void .Ft void
.Fn closelog void .Fn closelog void
.Ft int .Ft int
.Fn setlogmask "int maskpri" .Fn setlogmask "int maskpri"
.Fd #include <stdarg.h>
.Ft void
.Fn vsyslog "int priority" "const char *message" "va_list args"
.Sh DESCRIPTION .Sh DESCRIPTION
The The
.Fn syslog .Fn syslog