mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-14 14:55:41 +00:00
syslog(3): stdarg.h is needed only for vsyslog()
Reported by: Brian Wood <woodbrian77@gmail.com> Reviewed by: asomers, ngie Differential revision: https://reviews.freebsd.org/D18334
This commit is contained in:
parent
afde86eba3
commit
16e2120af9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=341639
@ -28,7 +28,7 @@
|
||||
.\" @(#)syslog.3 8.1 (Berkeley) 6/4/93
|
||||
.\" $FreeBSD$
|
||||
.\"
|
||||
.Dd April 12, 2018
|
||||
.Dd November 25, 2018
|
||||
.Dt SYSLOG 3
|
||||
.Os
|
||||
.Sh NAME
|
||||
@ -42,17 +42,18 @@
|
||||
.Lb libc
|
||||
.Sh SYNOPSIS
|
||||
.In syslog.h
|
||||
.In stdarg.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"
|
||||
.In syslog.h
|
||||
.In stdarg.h
|
||||
.Ft void
|
||||
.Fn vsyslog "int priority" "const char *message" "va_list args"
|
||||
.Sh DESCRIPTION
|
||||
The
|
||||
.Fn syslog
|
||||
|
Loading…
Reference in New Issue
Block a user