⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 stracelib.html

📁 vxworks相关论文
💻 HTML
字号:
<html><head><!-- /vobs/wpwr/docs/vxworks/ref/straceLib.html - generated by refgen from straceLib.c --> <title> straceLib </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>straceLib</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>straceLib</strong> - WindNet STREAMS message trace utility (STREAMS Option) </p></blockquote><h4>ROUTINES</h4><blockquote><p><p><b><i><a href="./straceLib.html#strace">strace</a></i>(&nbsp;)</b>  -  print STREAMS trace messages (STREAMS Option)<br><b><i><a href="./straceLib.html#straceStop">straceStop</a></i>(&nbsp;)</b>  -  stop the <b><i><a href="./straceLib.html#strace">strace</a></i>(&nbsp;)</b> task (STREAMS Option)<br><p></blockquote><h4>DESCRIPTION</h4><blockquote><p>This library consists of routines to support the <b>strace</b> utility. The <b>strace</b>utility is used to print to the trace file the trace output generated by STREAMS drivers and modules.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./straceLib.html#top">straceLib</a></b><hr><a name="strace"></a><p align=right><a href="rtnIndex.html"><i>Libraries :  Routines</i></a></p></blockquote><h1><i>strace</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>strace</i>(&nbsp;)</strong> - print STREAMS trace messages (STREAMS Option)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>strace    (    char * arg    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine, when invoked without arguments, writes all STREAMS event trace messages from all drivers and modules to a file named <b>streams.log</b> in the directory <b>STREAMS_STRACE_OUTPUT_DIR</b>. This directory constant is set in <b>configAll.h</b>. If the module name is provided to <b><i><a href="./straceLib.html#strace">strace</a></i>(&nbsp;)</b> then its output is sent to a file named <b>module-id.log</b> in the <b>STREAMS_STRACE_OUTPUT_DIR</b> directory.<p>These messages are obtained from the STREAMS log driver.If arguments are provided, they must be in triplets of the form <i>mid</i>,<i>sid</i>, and <i>level</i>, where <i>mid</i> is a STREAMS module ID number, <i>sid</i> is a sub-ID number, and <i>level</i> is a tracing priority level. Each triplet indicates that tracing messages are to be received from the specified module/driver, sub-ID (usually indicating minor device), and priority level equal to or less than the specified level. The token <i>all</i> can be used for any member to indicate no restriction for that attribute. <p>For additional information, see the<i>WindNet STREAMS for Tornado Component Release Supplement. </i><p></blockquote><h4>RETURNS</h4><blockquote><p>N/A<p><i>WindNet STREAMS for Tornado Component Release Supplement. </i></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./straceLib.html#top">straceLib</a></b><hr><a name="straceStop"></a><p align=right><a href="rtnIndex.html"><i>Libraries :  Routines</i></a></p></blockquote><h1><i>straceStop</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>straceStop</i>(&nbsp;)</strong> - stop the <b><i><a href="./straceLib.html#strace">strace</a></i>(&nbsp;)</b> task (STREAMS Option)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void straceStop ( void )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine deletes the <b><i><a href="./straceLib.html#strace">strace</a></i>(&nbsp;)</b> task from the system and performs a cleanupoperation. It removes the file descriptor associated with <b><i><a href="./straceLib.html#strace">strace</a></i>(&nbsp;)</b> and flushes any remaining trace-log messages from the log device to the <b><i><a href="./straceLib.html#strace">strace</a></i>(&nbsp;)</b> output file.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./straceLib.html#top">straceLib</a></b>, <b><i><a href="./straceLib.html#strace">strace</a></i>(&nbsp;)</b><p></blockquote><h4>RETURNS</h4><blockquote><p>N/A</body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -