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

📄 smnameshow.html

📁 vxworks相关论文
💻 HTML
字号:
<html><head><!-- /vobs/wpwr/docs/vxworks/ref/smNameShow.html - generated by refgen from smNameShow.c --> <title> smNameShow </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>smNameShow</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>smNameShow</strong> - shared memory objects name database show routines (VxMP Option) </p></blockquote><h4>ROUTINES</h4><blockquote><p><p><b><i><a href="./smNameShow.html#smNameShow">smNameShow</a></i>(&nbsp;)</b>  -  show the contents of the shared memory objects name database (VxMP Option)<br><p></blockquote><h4>DESCRIPTION</h4><blockquote><p>This library provides a routine to show the contents of the shared memoryobjects name database.  The shared memory objects name database facility isprovided by smNameLib.<p></blockquote><h4>CONFIGURATION</h4><blockquote><p>The routines in this library are included by default if<b>INCLUDE_SM_OBJ</b> is defined in <b>configAll.h</b>.<p></blockquote><h4>AVAILABILITY</h4><blockquote><p>This module is distributed as a component of the unbundled shared memoryobjects support option, VxMP.<p></blockquote><h4>INCLUDE FILES</h4><blockquote><p><b>smNameLib.h</b><p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./smNameShow.html#top">smNameShow</a></b>, <b><a href="./smNameLib.html#top">smNameLib</a></b>, <b><a href="./smObjLib.html#top">smObjLib</a></b>,  <i>VxWorks Programmer's Guide: Shared Memory Objects</i><hr><a name="smNameShow"></a><p align=right><a href="rtnIndex.html"><i>Libraries :  Routines</i></a></p></blockquote><h1><i>smNameShow</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>smNameShow</i>(&nbsp;)</strong> - show the contents of the shared memory objects name database (VxMP Option)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS smNameShow    (    int level /* information level */    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine displays the names, values, and types of objects stored in the shared memory objects name database.  Predefined typesare shown, using their ASCII representations; all other types are printedin hexadecimal.<p>The <i>level</i> parameter defines the level of database informationdisplayed.  If <i>level</i> is 0, only statistics on the database contents aredisplayed.  If <i>level</i> is greater than 0, then both statistics anddatabase contents are displayed.<p></blockquote><h4>WARNING</h4><blockquote><p>This routine locks access to the shared memory objects name database whiledisplaying its contents.  This can compromise the access time to the namedatabase from other CPUs in the system.  Generally, this routine is usedfor debugging purposes only.<p></blockquote><h4>EXAMPLE</h4><blockquote><p><p><pre>-&gt; smNameShowNames in Database  Max : 30  Current : 6  Free : 24-&gt; smNameShow 1Names in Database  Max : 30  Current : 6  Free : 24Name                Value         Type---------------- ----------- -------------inputImage        0x802340    SM_MEM_BLOCKouputImage        0x806340    SM_MEM_BLOCKimagePool         0x802001    SM_MEM_PARTimageInSem        0x8e0001    SM_SEM_BimageOutSem       0x8e0101    SM_SEM_CactionQ           0x8e0201    SM_MSG_QuserObject        0x8e0400    0x1b0</pre></blockquote><h4>AVAILABILITY</h4><blockquote><p>This routine is distributed as a component of the unbundled shared memoryobjects support option, VxMP.<p></blockquote><h4>RETURNS</h4><blockquote><p>OK, or ERROR if the name facility is not initialized.<p></blockquote><h4>ERRNO</h4><blockquote><p><p>&nbsp;S_smNameLib_NOT_INITIALIZED&nbsp;<br>&nbsp;S_smObjLib_LOCK_TIMEOUT<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./smNameShow.html#top">smNameShow</a></b>, <b><a href="./smNameLib.html#top">smNameLib</a></b></body></html>

⌨️ 快捷键说明

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