strlog man page on DigitalUNIX

Man page or keyword search:  
man Server   12896 pages
apropos Keyword Search (all sections)
Output format
DigitalUNIX logo
[printable version]

strlog(9r)							    strlog(9r)

NAME
       strlog - General: Submits messages for logging

SYNOPSIS
       #include <sys/stream.h> #include <sys/strlog.h>

       int strlog(
	       short driverid,
	       short minorid,
	       char level,
	       unsigned short flags,
	       char *format,
	       unsigned arg1,

       );

ARGUMENTS
       Specifies  the identification number of the driver or module submitting
       the message.  Specifies the  identification  number  for	 a  particular
       minor  device.	Specifies the tracing level for selective screening of
       low-priority messages.  Specifies a flag value. You can pass one of the
       following  valid	 flag  values:	Pass  the message to the error logger.
       Pass the message to the tracer.	Print the message on the console  ter‐
       minal.  Specifies a printf style format string.	The % s, % e, % g, and
       % G formats are not allowed.  Specifies zero or more arguments  to  the
       printf routine.

DESCRIPTION
       The  strlog  routine  submits formatted messages to the log driver. You
       can retrieve the messages with the getmsg system call. The flags	 argu‐
       ment  specifies	the  type  of  message and where it is to be sent. The
       strace command receives messages from the log driver and sends them  to
       the standard output. The strerr daemon receives error messages from the
       log driver and appends them to a file called /var/adm/streams/error.mm-
       dd, where mm-dd identifies the date of the error message.

RETURN VALUES
       The  strlog  routine  returns the value 0 (zero). If the message is not
       seen by all the readers. Otherwise, it returns the value 1.

								    strlog(9r)
[top]

List of man pages available for DigitalUNIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net