VxWorks Reference Manual : Libraries
strerrLib - WindNet STREAMS error messages trace utility (STREAMS Option)
strerr( ) - STREAMS error logger task (STREAMS Option)
strerrStop( ) - stop the strerr( ) task (STREAMS Option)
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.
strerr( ) - STREAMS error logger task (STREAMS Option)
void strerr ( void )
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
N/A
strerrStop( ) - stop the strerr( ) task (STREAMS Option)
strerrStop ( void )
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.
strerrLib, strerr
N/A