makestattbl.html

来自「vxworks相关论文」· HTML 代码 · 共 71 行

HTML
71
字号
<html><head><!-- /vobs/wpwr/docs/tornado/hutils/makeStatTbl.html - generated by refgen from makeStatTbl.sh --> <title> makeStatTbl </title></head><body bgcolor="#FFFFFF"> <hr><a name="top"></a><p align=right><a href="libIndex.html"><i>Tornado Reference :  Tornado Utilities</i></a></p></blockquote><h1>makeStatTbl</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>makeStatTbl</strong> - make a table of status values</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>makeStatTbl <i>hdir</i> [...]</pre><p><p></blockquote><h4>DESCRIPTION</h4><blockquote><p>This tool creates an array of type SYMBOL that contains thenames and values of all the status codes defined in the .h files in thespecified directory(s).  All status codes must be prefixed with "<b>S_</b>"to be included in this table, with the exception of status codesin the UNIX-compatible header file <b>errno.h</b>.In each <i>hdir</i> there must be a *<b>ModNum.h</b> file which defines the modulenumbers, e.g., "<b>M_</b>".The generated code is written to standard output.<p>The symbol array is accessible through the global variable<b>statTbl</b>.  The array contains <b>statTblSize</b> elements.These are the only external declarations in the generated code.<p>This tool's primary use is for creating the VxWorks status table usedby <b><i><a href="../tools/windsh.html#printErrno" >printErrno</a></i>(&nbsp;)</b>, but may be used by applications as well.  Foran example, see $<b>WIND_BASE/target/config/all/statTbl.c</b>, which is generated by this tool from <b>$<b>WIND_BASE</b>/target/h/*</b>.<p></blockquote><h4>FILES</h4><blockquote><p><table><tr valign=top><td align=left><i>hdir</i>/*<b>ModNum.h</b>  </td><td align=left>  module number file for each h directory</tr><tr valign=top><td align=left><b>symLib.h</b>          </td><td align=left>  symbol header file </tr><tr valign=top><td align=left></tr></tr></table></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./makeStatTbl.html#top">makeStatTbl</a></b>, <b><a href="../../vxworks/ref/errnoLib.html#top" >errnoLib</a></b>, <b><a href="../../vxworks/ref/symLib.html#top" >symLib</a></b><p><p></body></html>

⌨️ 快捷键说明

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