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

📄 streams.doc21.html

📁 vxworks相关论文
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html><head><link rel="STYLESHEET" type="text/css" href="../../wrs.css"><title>WindNet STREAMS Debugging    WindNet STREAMS for Tornado   </title></head><body bgcolor="FFFFFF"><p class="navbar" align="right"><a href="index.html"><img border="0" alt="[Contents]" src="../../icons/contents.gif"></a><a href="streams.doc20.html"><img border="0" alt="[Prev]" src="../../icons/prev.gif"></a><a href="streams.doc22.html"><img border="0" alt="[Next]" src="../../icons/next.gif"></a></p><font face="Helvetica, sans-serif" class="sans"><h3 class="H2"><i><a name="80250" class="autotag">5.1&nbsp;&nbsp;<b class="routine"><i class="routine">cmn_err</i></b><b>(&nbsp;)</b>: STREAMS Debug Printing</a></i></h3></font><dl class="margin"><dd><dl class="margin"><dd><p class="Body"><a name="80413" class="autotag"> </a>The STREAMS routine <b class="routine"><i class="routine">cmn_err</i></b><b>(&nbsp;)</b>allows printing of formatted strings on a system console.  It displays a message on the console specified by the parameter <font face="Palatino, serif"><i class="textVariable">fmt</i></font>.  The format of a <b class="routine"><i class="routine">cmn_err</i></b><b>(&nbsp;)</b> call is:</p></dd></dl><dl class="margin"><dd><pre class="Code"><a name="80251" class="autotag">void cmn_err (int level, char *fmt, int ARGS)</a></pre></dd></dl><dl class="margin"><dd><p class="Body"><a name="80252" class="autotag"> </a>The parameter <font face="Palatino, serif"><i class="textVariable">level</i></font> takes one of the following values:</p></dd></dl><dl class="margin"><dd><div class="Item"><a name="80253" class="autotag"> </a><b>CE_CONT</b></div><dl class="margin"><dd><div class="Indent"><a name="95371" class="autotag"> </a>Substitutes for a normal <b class="routine"><i class="routine">printf</i></b><b>(&nbsp;)</b>.  This macro continues another message or displays an informative message not associated with an error.</div><br></dd></dl><div class="Item"><a name="80254" class="autotag"> </a><b>CE_NOTE</b></div><dl class="margin"><dd><div class="Indent"><a name="95373" class="autotag"> </a>Reports system events.  This value displays a message, preceded by "NOTICE," that reports system events not necessarily requiring user action. </div><br></dd></dl><div class="Item"><a name="80255" class="autotag"> </a><b>CE_WARN</b></div><dl class="margin"><dd><div class="Indent"><a name="95375" class="autotag"> </a>Reports system events requiring user action.  This value displays a message, preceded by "WARNING," that reports system events requiring immediate attention.  Without attention, the system may crash.</div><br></dd></dl><div class="Item"><a name="80256" class="autotag"> </a><b>CE_PANIC</b></div><dl class="margin"><dd><div class="Indent"><a name="95377" class="autotag"> </a>Reports perilous system events.  This macro displays a message preceded by "PANIC." Drivers specify this level only under the most severe conditions, for example, when the system cannot continue to function.</div><br></dd></dl></dd></dl></dd></dl><a name="foot"><hr></a><p class="navbar" align="right"><a href="index.html"><img border="0" alt="[Contents]" src="../../icons/contents.gif"></a><a href="streams.doc20.html"><img border="0" alt="[Prev]" src="../../icons/prev.gif"></a><a href="streams.doc22.html"><img border="0" alt="[Next]" src="../../icons/next.gif"></a></p></body></html><!---This file generated April 10, 1998, 12:25PM PDTby WRS Documentation (jeff), Wind River Systems, Inc.    conversion tool:  Quadralay WebWorks Publisher 3.5.0    template:         CSS Template, Jan 1998 - Jefro --->

⌨️ 快捷键说明

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