VxWorks Reference Manual : Libraries

strerrLib

NAME

strerrLib - WindNet STREAMS error messages trace utility (STREAMS Option)

ROUTINES

strerr( ) - STREAMS error logger task (STREAMS Option)
strerrStop( ) - stop the strerr( ) task (STREAMS Option)

DESCRIPTION

This library provides routines to support the strerr utility, which is used to print to the error file the error output generated by STREAMS drivers and modules.

SEE ALSO

strerrLib


Libraries : Routines

strerr( )

NAME

strerr( ) - STREAMS error logger task (STREAMS Option)

SYNOPSIS


void strerr ( void )

DESCRIPTION

This routine receives error log messages from the STREAMS log driver and appends them to a log file. The resulting error log files reside in the directory STREAMS_STRERR_OUTPUT_DIR specified in configAll.h. The format of an error log message is a string of the following fields:

   seq time ticks flags mid sid text

as defined below:

seq
error sequence number

time
time of message in hh:mm:ss

ticks
time of message in machine ticks since boot

flags
T indicates the message was also sent to a tracing task; F also indicates a fatal error

mid
module ID number of source

sid
sub-ID number of source

text
formatted text of the error message

RETURNS

 N/A

SEE ALSO

strerrLib


Libraries : Routines

strerrStop( )

NAME

strerrStop( ) - stop the strerr( ) task (STREAMS Option)

SYNOPSIS


strerrStop ( void )

DESCRIPTION

This routine deletes the strerr( ) task from the system and performs a cleanup operation. It removes the file descriptor associated with strerr( ) and flushes any remaining error-log messages from the log device to the strerr( ) output file.

SEE ALSO

strerrLib, strerr

RETURNS

N/A