📄 strerrlib.html
字号:
<html><head><!-- /vobs/wpwr/docs/vxworks/ref/strerrLib.html - generated by refgen from strerrLib.c --> <title> strerrLib </title></head><body bgcolor="#FFFFFF"> <hr><a name="top"></a><p align=right><a href="libIndex.html"><i>VxWorks Reference Manual : Libraries</i></a></p></blockquote><h1>strerrLib</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>strerrLib</strong> - WindNet STREAMS error messages trace utility (STREAMS Option)</p></blockquote><h4>ROUTINES</h4><blockquote><p><p><b><i><a href="./strerrLib.html#strerr">strerr</a></i>( )</b> - STREAMS error logger task (STREAMS Option)<br><b><i><a href="./strerrLib.html#strerrStop">strerrStop</a></i>( )</b> - stop the <b><i><a href="./strerrLib.html#strerr">strerr</a></i>( )</b> task (STREAMS Option)<br><p></blockquote><h4>DESCRIPTION</h4><blockquote><p>This library provides routines to support the <b>strerr</b> utility, whichis used to print to the error file the error output generated by STREAMS drivers and modules.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./strerrLib.html#top">strerrLib</a></b><hr><a name="strerr"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>strerr</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>strerr</i>( )</strong> - STREAMS error logger task (STREAMS Option)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void strerr ( void )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine receives error log messages from the STREAMS logdriver and appends them to a log file. The resulting error log files residein the directory <b>STREAMS_STRERR_OUTPUT_DIR</b> specified in <b>configAll.h</b>.The format of an error log message is a string of the following fields:<p> <i>seq</i> <i>time</i> <i>ticks</i> <i>flags</i> <i>mid</i> <i>sid</i> <i>text</i><p>as defined below:<dl><dt><i>seq</i><dd>error sequence number<p><dt><i>time</i><dd>time of message in hh:mm:ss<p><dt><i>ticks</i><dd>time of message in machine ticks since boot<p><dt><i>flags</i><dd>T indicates the message was also sent to a tracing task;F also indicates a fatal error<p><dt><i>mid</i><dd>module ID number of source<p><dt><i>sid</i><dd>sub-ID number of source<p><dt><i>text</i><dd> formatted text of the error message<p></dl></blockquote><h4>RETURNS</h4><blockquote><p><p> N/A</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./strerrLib.html#top">strerrLib</a></b><hr><a name="strerrStop"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>strerrStop</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>strerrStop</i>( )</strong> - stop the <b><i><a href="./strerrLib.html#strerr">strerr</a></i>( )</b> task (STREAMS Option)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>strerrStop ( void )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine deletes the <b><i><a href="./strerrLib.html#strerr">strerr</a></i>( )</b> task from the system and performs a cleanupoperation. It removes the file descriptor associated with <b><i><a href="./strerrLib.html#strerr">strerr</a></i>( )</b> and flushes any remaining error-log messages from the log device to the <b><i><a href="./strerrLib.html#strerr">strerr</a></i>( )</b> output file.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./strerrLib.html#top">strerrLib</a></b>, strerr<p></blockquote><h4>RETURNS</h4><blockquote><p>N/A</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -