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
1 changed files with 5 additions and 5 deletions

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
.\" The Regents of the University of California. All rights reserved.
@ -33,7 +33,7 @@
.\"
.\" @(#)syslog.3 8.1 (Berkeley) 6/4/93
.\"
.Dd June 4, 1993
.Dd March 14, 2001
.Dt SYSLOG 3
.Os
.Sh NAME
@ -47,17 +47,17 @@
.Lb libc
.Sh SYNOPSIS
.Fd #include <syslog.h>
.Fd #include <varargs.h>
.Ft void
.Fn syslog "int priority" "const char *message" "..."
.Ft void
.Fn vsyslog "int priority" "const char *message" "va_list args"
.Ft void
.Fn openlog "const char *ident" "int logopt" "int facility"
.Ft void
.Fn closelog void
.Ft int
.Fn setlogmask "int maskpri"
.Fd #include <stdarg.h>
.Ft void
.Fn vsyslog "int priority" "const char *message" "va_list args"
.Sh DESCRIPTION
The
.Fn syslog