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

📄 usrlib.html

📁 vxworks相关论文
💻 HTML
📖 第 1 页 / 共 5 页
字号:
queues, local and shared memory partitions, watchdogs, and symbol tables.An information level is interpreted by the objects show routine on a classby class basis.  Refer to the object's library manual page for moreinformation.<p></blockquote><h4>RETURNS</h4><blockquote><p>N/A<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./usrLib.html#top">usrLib</a></b>, <b><i><a href="./usrLib.html#i">i</a></i>(&nbsp;)</b>, <b><i><a href="./usrLib.html#ti">ti</a></i>(&nbsp;)</b>, <b><i><a href="./usrLib.html#lkup">lkup</a></i>(&nbsp;)</b>,  <i>VxWorks Programmer's Guide: Target Shell, </i>windsh,  <i>Tornado User's Guide: Shell</i><hr><a name="ts"></a><p align=right><a href="rtnIndex.html"><i>Libraries :  Routines</i></a></p></blockquote><h1><i>ts</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>ts</i>(&nbsp;)</strong> - suspend a task</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void ts    (    int taskNameOrId /* task name or task ID */    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This command suspends the execution of a specified task.  It simply calls<b><i><a href="./taskLib.html#taskSuspend">taskSuspend</a></i>(&nbsp;)</b>.<p></blockquote><h4>RETURNS</h4><blockquote><p>N/A<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./usrLib.html#top">usrLib</a></b>, <b><i><a href="./usrLib.html#tr">tr</a></i>(&nbsp;)</b>, <b><i><a href="./taskLib.html#taskSuspend">taskSuspend</a></i>(&nbsp;)</b>,  <i>VxWorks Programmer's Guide: Target Shell, </i>windsh,  <i>Tornado User's Guide: Shell</i><hr><a name="tr"></a><p align=right><a href="rtnIndex.html"><i>Libraries :  Routines</i></a></p></blockquote><h1><i>tr</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>tr</i>(&nbsp;)</strong> - resume a task</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void tr    (    int taskNameOrId /* task name or task ID */    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This command resumes the execution of a suspended task.  It simply calls<b><i><a href="./taskLib.html#taskResume">taskResume</a></i>(&nbsp;)</b>.<p></blockquote><h4>RETURNS</h4><blockquote><p>N/A<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./usrLib.html#top">usrLib</a></b>, <b><i><a href="./usrLib.html#ts">ts</a></i>(&nbsp;)</b>, <b><i><a href="./taskLib.html#taskResume">taskResume</a></i>(&nbsp;)</b>,  <i>VxWorks Programmer's Guide: Target Shell, </i>windsh,  <i>Tornado User's Guide: Shell</i><hr><a name="td"></a><p align=right><a href="rtnIndex.html"><i>Libraries :  Routines</i></a></p></blockquote><h1><i>td</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>td</i>(&nbsp;)</strong> - delete a task</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void td    (    int taskNameOrId /* task name or task ID */    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This command deletes a specified task.  It simply calls <b><i><a href="./taskLib.html#taskDelete">taskDelete</a></i>(&nbsp;)</b>.<p></blockquote><h4>RETURNS</h4><blockquote><p>N/A<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./usrLib.html#top">usrLib</a></b>, <b><i><a href="./taskLib.html#taskDelete">taskDelete</a></i>(&nbsp;)</b>,  <i>VxWorks Programmer's Guide: Target Shell, </i>windsh,  <i>Tornado User's Guide: Shell</i><hr><a name="version"></a><p align=right><a href="rtnIndex.html"><i>Libraries :  Routines</i></a></p></blockquote><h1><i>version</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>version</i>(&nbsp;)</strong> - print VxWorks version information</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void version (void)</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This command prints the VxWorks version number, the date this copy ofVxWorks was made, and other pertinent information.<p></blockquote><h4>EXAMPLE</h4><blockquote><p><pre>-&gt; versionVxWorks (for Mizar 7170) version 5.1Kernel: WIND version 2.1.Made on Tue Jul 27 20:26:23 CDT 1997.Boot line:enp(0,0)host:/usr/wpwr/target/config/mz7170/vxWorks e=90.0.0.50 h=90.0.0.4 u=targetvalue = 1 = 0x1</pre></blockquote><h4>RETURNS</h4><blockquote><p>N/A<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./usrLib.html#top">usrLib</a></b>, <i>VxWorks Programmer's Guide: Target Shell, </i>windsh,  <i>Tornado User's Guide: Shell</i><hr><a name="m"></a><p align=right><a href="rtnIndex.html"><i>Libraries :  Routines</i></a></p></blockquote><h1><i>m</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>m</i>(&nbsp;)</strong> - modify memory</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void m    (    void * adrs, /* address to change */    int    width /* width of unit to be modified (1, 2, 4, 8) */    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This command prompts the user for modifications to memory in byte, shortword, or long word specified by <i>width</i>, starting at the specified address.It prints each address and the current contents of that address, in turn.If <i>adrs</i> or <i>width</i> is zero or absent, it defaults to the previous value.The user can respond in one of several ways:<dl><dt>RETURN<dd>Do not change this address, but continue, prompting at the next address.<p><dt><i>number</i><dd>Set the content of this address to <i>number</i>.<p><dt>. (dot)<dd>Do not change this address, and quit.<p><dt>EOF<dd> Do not change this address, and quit. </dl><p>All numbers entered and displayed are in hexadecimal.<p></blockquote><h4>RETURNS</h4><blockquote><p>N/A<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./usrLib.html#top">usrLib</a></b>, <b><i><a href="./usrLib.html#mRegs">mRegs</a></i>(&nbsp;)</b>,  <i>VxWorks Programmer's Guide: Target Shell, </i>windsh,  <i>Tornado User's Guide: Shell</i><p><hr><a name="d"></a><p align=right><a href="rtnIndex.html"><i>Libraries :  Routines</i></a></p></blockquote><h1><i>d</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>d</i>(&nbsp;)</strong> - display memory</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void d    (    void * adrs,   /* address to display (if 0, display next block */    int    nunits, /* number of units to print (if 0, use default) */    int    width   /* width of displaying unit (1, 2, 4, 8) */    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This command displays the contents of memory, starting at <i>adrs</i>.If <i>adrs</i> is omitted or zero, <b><i><a href="./usrLib.html#d">d</a></i>(&nbsp;)</b> displays the next memory block, startingfrom where the last <b><i><a href="./usrLib.html#d">d</a></i>(&nbsp;)</b> command completed.<p>Memory is displayed in units specified by <i>width</i>.  If <i>nunits</i> is omittedor zero, the number of units displayed defaults to last use.  If<i>nunits</i> is non-zero, that number of units is displayed and that numberthen becomes the default.  If <i>width</i> is omitted or zero, it defaultsto the previous value.  If <i>width</i> is an invalid number, it is set to 1.The valid values for <i>width</i> are 1, 2, 4, and 8.  The number of units <b><i><a href="./usrLib.html#d">d</a></i>(&nbsp;)</b>displays is rounded up to the nearest number of full lines.<p></blockquote><h4>RETURNS</h4><blockquote><p>N/A<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./usrLib.html#top">usrLib</a></b>, <b><i><a href="./usrLib.html#m">m</a></i>(&nbsp;)</b>,  <i>VxWorks Programmer's Guide: Target Shell, </i>windsh,  <i>Tornado User's Guide: Shell</i><hr><a name="cd"></a><p align=right><a href="rtnIndex.html"><i>Libraries :  Routines</i></a></p></blockquote><h1><i>cd</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>cd</i>(&nbsp;)</strong> - change the default directory</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS cd    (    char * name /* new directory name */    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This command sets the default directory to <i>name</i>.  The default directoryis a device name, optionally followed by a directory local to thatdevice.<p>To change to a different directory, specify one of the following:<ul><li>  an entire path name with a device name, possibly followed by a directoryname.  The entire path name will be changed.</li><li>  a directory name starting with a <b>~</b> or <b>/</b> or <b>$</b>.  The directory partof the path, immediately after the device name, will be replaced with the newdirectory name.</li><li>   a directory name to be appended to the current default directory.The directory name will be appended to the current default directory. </ul><p><p>An instance of ".." indicates one level up in the directory tree.<p>Note that when accessing a remote file system via RSH or FTP, theVxWorks network device must already have been created using<b><i><a href="./netDrv.html#netDevCreate">netDevCreate</a></i>(&nbsp;)</b>.<p></blockquote><h4>WARNING</h4><blockquote><p>The <b><i><a href="./usrLib.html#cd">cd</a></i>(&nbsp;)</b> command does very little checking that <i>name</i> represents a validpath.  If the path is invalid, <b><i><a href="./usrLib.html#cd">cd</a></i>(&nbsp;)</b> may return OK, but subsequentcalls that depend on the default path will fail.<p></blockquote><h4>EXAMPLES</h4><blockquote><p>The following example changes the directory to device <b>/fd0/</b>:<pre>    -&gt; cd "/fd0/"</pre>This example changes the directory to device <b>wrs:</b> with the localdirectory <b>~leslie/target</b>:<pre>    -&gt; cd "wrs:~leslie/target"</pre>After the previous command, the following changes the directory to<b>wrs:~leslie/target/config</b>:<pre>    -&gt; cd "config"</pre>After the previous command, the following changes the directory to<b>wrs:~leslie/target/demo</b>:<pre>    -&gt; cd "../demo"</pre>After the previous command, the following changes the directory to<b>wrs:/etc</b>.<pre>    -&gt; cd "/etc"</pre>Note that <b>~</b> can be used only on network devices (RSH or FTP).<p></blockquote><h4>RETURNS</h4><blockquote><p>OK or ERROR.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./usrLib.html#top">usrLib</a></b>, <b><i><a href="./usrLib.html#pwd">pwd</a></i>(&nbsp;)</b>,  <i>VxWorks Programmer's Guide: Target Shell</i>windsh,  <i>Tornado User's Guide: Shell</i><hr><a name="pwd"></a><p align=right><a href="rtnIndex.html"><i>Libraries :  Routines</i></a></p></blockquote><h1><i>pwd</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>pwd</i>(&nbsp;)</strong> - print the current default directory</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void pwd (void)</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This command displays the current working device/directory.<p></blockquote><h4>RETURNS</h4><blockquote><p>N/A<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./usrLib.html#top">usrLib</a></b>, <b><i><a href="./usrLib.html#cd">cd</a></i>(&nbsp;)</b>,  <i>VxWorks Programmer's Guide: Target Shell, </i>windsh,  <i>Tornado User's Guide: Shell</i><hr><a name="copy"></a><p align=right>

⌨️ 快捷键说明

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