[9163] in Athena Bugs

home help back first fref pref prev next nref lref last post

decmips 7.3P: syslog(3)

daemon@ATHENA.MIT.EDU (Bruce R. Lewis)
Thu Apr 2 16:06:45 1992

To: bugs@Athena.MIT.EDU
Date: Thu, 02 Apr 92 16:06:32 EST
From: "Bruce R. Lewis" <brlewis@Athena.MIT.EDU>

System name:		alewife
Type and version:	KN01 7.3P
Display type:		PMAX-MFB

Looks like Ultrix openlog() only takes one argument.  But the syntax
part of the man page give two while only declaring one.
  From the man page:
   Syntax
     #include <syslog.h>

     openlog(ident, logstat)
     char *ident;

...
   Examples

     syslog(LOG_SALERT, "who: internal error 23");

     openlog("serverftp", LOG_PID);

It doesn't define LOG_DAEMON, etc. which would be used in the second
arg.

home help back first fref pref prev next nref lref last post