Subject: Re: LOG_ODELAY ?
To: Patrick Welche <prlw1@cam.ac.uk>
From: Simon Burge <simonb@telstra.com.au>
List: netbsd-help
Date: 06/28/1998 22:24:20
On Sun, 28 Jun 1998 12:28:53 +0100 (BST) Patrick Welche wrote:
> In line 195 of src/libexec/getty/main.c is written:
>
> openlog("getty", LOG_ODELAY|LOG_CONS|LOG_PID, LOG_AUTH);
>
> What does LOG_ODELAY do? I can only find references to LOG_NDELAY in
> the openlog man page and in src/lib/libc/gen/syslog.c
Not much! From /usr/include/sys/syslog.h:
/*
* Option flags for openlog.
*
* LOG_ODELAY no longer does anything.
* LOG_NDELAY is the inverse of what it used to be.
*/
#define LOG_ODELAY 0x04 /* delay open until first syslog() (default) */
Simon.