summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorjmc <jmc@openbsd.org>2013-03-11 13:26:35 +0000
committerjmc <jmc@openbsd.org>2013-03-11 13:26:35 +0000
commit47d6151679dd6fa2e59b6d6e4d7147663211739f (patch)
treeacde334973f53f04babe89a8b03a763881440416 /lib/libc
parentSimplify text about -l and use cua not tty in examples. (diff)
downloadwireguard-openbsd-47d6151679dd6fa2e59b6d6e4d7147663211739f.tar.xz
wireguard-openbsd-47d6151679dd6fa2e59b6d6e4d7147663211739f.zip
document LOG_ODELAY; from Daniel Dickman
ok millert
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/gen/syslog.311
1 files changed, 9 insertions, 2 deletions
diff --git a/lib/libc/gen/syslog.3 b/lib/libc/gen/syslog.3
index 5604519341a..80795a550da 100644
--- a/lib/libc/gen/syslog.3
+++ b/lib/libc/gen/syslog.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: syslog.3,v 1.28 2008/05/07 12:05:35 claudio Exp $
+.\" $OpenBSD: syslog.3,v 1.29 2013/03/11 13:26:35 jmc Exp $
.\"
.\" Copyright (c) 1985, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -27,7 +27,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: May 7 2008 $
+.Dd $Mdocdate: March 11 2013 $
.Dt SYSLOG 3
.Os
.Sh NAME
@@ -222,6 +222,13 @@ descriptors are allocated.
This option must be used in programs that call
.Xr chroot 2
where the new root does not have its own log socket.
+.It Dv LOG_ODELAY
+Delay opening the connection to
+.Xr syslogd 8
+until the first message is logged.
+This is the opposite of
+.Dv LOG_NDELAY
+and is the default behaviour when neither option is specified.
.It Dv LOG_PERROR
Write the message to standard error output as well as to the system log.
.It Dv LOG_PID