亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? errnolib.html

?? vxworks相關論文
?? HTML
字號:
<html><head><!-- /vobs/wpwr/docs/vxworks/ref/errnoLib.html - generated by refgen from errnoLib.c --> <title> errnoLib </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>errnoLib</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>errnoLib</strong> - error status library </p></blockquote><h4>ROUTINES</h4><blockquote><p><p><b><i><a href="./errnoLib.html#errnoGet">errnoGet</a></i>(&nbsp;)</b>  -  get the error status value of the calling task<br><b><i><a href="./errnoLib.html#errnoOfTaskGet">errnoOfTaskGet</a></i>(&nbsp;)</b>  -  get the error status value of a specified task<br><b><i><a href="./errnoLib.html#errnoSet">errnoSet</a></i>(&nbsp;)</b>  -  set the error status value of the calling task<br><b><i><a href="./errnoLib.html#errnoOfTaskSet">errnoOfTaskSet</a></i>(&nbsp;)</b>  -  set the error status value of a specified task<br><p></blockquote><h4>DESCRIPTION</h4><blockquote><p>This library contains routines for setting and examining the error statusvalues of tasks and interrupts.  Most VxWorks functions return ERROR whenthey detect an error, or NULL in the case of functions returning pointers.In addition, they set an error status that elaborates the nature of theerror.<p>This facility is compatible with the UNIX error status mechanism in whicherror status values are set in the global variable <b>errno</b>.  However, inVxWorks there are many task and interrupt contexts that share common memoryspace and therefore conflict in their use of this global variable.VxWorks resolves this in two ways:<dl><dt>(1)<dd>For tasks, VxWorks maintains the <b>errno</b> value for each contextseparately, and saves and restores the value of <b>errno</b> with every contextswitch.  The value of <b>errno</b> for a non-executing task is stored in thetask's TCB.  Thus, regardless of task context, code can always referenceor modify <b>errno</b> directly.<p><dt>(2)<dd>For interrupt service routines, VxWorks saves and restores <b>errno</b> onthe interrupt stack as part of the interrupt enter and exit code providedautomatically with the <b><i><a href="./intArchLib.html#intConnect">intConnect</a></i>(&nbsp;)</b> facility.   Thus, interrupt serviceroutines can also reference or modify <b>errno</b> directly. </dl><p>The <b>errno</b> facility is used throughout VxWorks for error reporting.  Insituations where a lower-level routine has generated an error, by convention,higher-level routines propagate the same error status, leaving <b>errno</b>with the value set at the deepest level.  Developers are encouraged to usethe same mechanism for application modules where appropriate.<p></blockquote><h4>ERROR STATUS VALUES</h4><blockquote><p>An error status is a 4-byte integer.  By convention, the most significanttwo bytes are the module number, which indicates the module in which theerror occurred.  The lower two bytes indicate the specific error withinthat module.  Module number 0 is reserved for UNIX error numbers so thatvalues from the UNIX <b>errno.h</b> header file can be set and tested withoutmodification.  Module numbers 1-500 decimal are reserved for VxWorksmodules.  These are defined in <b>vwModNum.h</b>.  All other module numbers areavailable to applications.<p></blockquote><h4>PRINTING ERROR STATUS VALUES</h4><blockquote><p>VxWorks can include a special symbol table called <b>statSymTbl</b>which <b><i><a href="./usrLib.html#printErrno">printErrno</a></i>(&nbsp;)</b> uses to print human-readable error messages.<p>This table is created with the tool makeStatTbl, foundin <b>host/<i>hostOs</i>/bin</b>.This tool reads all the .h files in a specified directory and generates aC-language file, which generates a symbol table when compiled.  Each symbolconsists of an error status value and its definition, which was obtainedfrom the header file.<p>For example, suppose the header file <b>target/h/myFile.h</b> contains the line:<pre>    #define S_myFile_ERROR_TOO_MANY_COOKS       0x230003</pre>The table <b>statSymTbl</b> is created by first running:<p>On Unix:<pre>    makeStatTbl target/h &gt; statTbl.c</pre>On Windows:<pre>    makeStatTbl target/h</pre>This creates a file <b>statTbl.c</b> in the current directory, which, whencompiled, generates <b>statSymTbl</b>.  The table is then linked in withVxWorks.  Normally, these steps are performed automatically by the makefilein <b>target/src/usr</b>.<p>If the user now types from the VxWorks shell:<pre>    -&gt; printErrno 0x230003</pre>The <b><i><a href="./usrLib.html#printErrno">printErrno</a></i>(&nbsp;)</b> routine would respond:<pre>    S_myFile_ERROR_TOO_MANY_COOKS</pre>The makeStatTbl tool looks for error status lines of the form:<pre>    #define S_xxx  &lt;n&gt;</pre>where <i>xxx</i> is any string, and <i>n</i> is any number.All VxWorks status lines are of the form:<pre>    #define S_thisFile_MEANINGFUL_ERROR_MESSAGE   0xnnnn</pre>where <i>thisFile</i> is the name of the module.<p>This facility is available to the user by adding header files withstatus lines of the appropriate forms and remaking VxWorks.<p></blockquote><h4>INCLUDE FILES</h4><blockquote><p>The file <b>vwModNum.h</b> contains the module numbers for every VxWorks module.The include file for each module contains the error numbers which that modulecan generate.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./errnoLib.html#top">errnoLib</a></b>, <b><i><a href="./usrLib.html#printErrno">printErrno</a></i>(&nbsp;)</b>, makeStatTbl,  <i>VxWorks Programmer's Guide: Basic OS</i><hr><a name="errnoGet"></a><p align=right><a href="rtnIndex.html"><i>Libraries :  Routines</i></a></p></blockquote><h1><i>errnoGet</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>errnoGet</i>(&nbsp;)</strong> - get the error status value of the calling task</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>int errnoGet (void)</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine gets the error status stored in <b>errno</b>.It is provided for compatibility with previous versions of VxWorks andsimply accesses <b>errno</b> directly.<p></blockquote><h4>RETURNS</h4><blockquote><p><p>The error status value contained in <b>errno</b>.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./errnoLib.html#top">errnoLib</a></b>, <b><i><a href="./errnoLib.html#errnoSet">errnoSet</a></i>(&nbsp;)</b>, <b><i><a href="./errnoLib.html#errnoOfTaskGet">errnoOfTaskGet</a></i>(&nbsp;)</b><hr><a name="errnoOfTaskGet"></a><p align=right><a href="rtnIndex.html"><i>Libraries :  Routines</i></a></p></blockquote><h1><i>errnoOfTaskGet</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>errnoOfTaskGet</i>(&nbsp;)</strong> - get the error status value of a specified task</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>int errnoOfTaskGet    (    int taskId /* task ID, 0 means current task */    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine gets the error status most recently set for a specified task.If <i>taskId</i> is zero, the calling task is assumed, and the value currentlyin <b>errno</b> is returned.<p>This routine is provided primarily for debugging purposes.  Normally,tasks access <b>errno</b> directly to set and get their own error status values.<p></blockquote><h4>RETURNS</h4><blockquote><p>The error status of the specified task, or ERROR if the task doesnot exist.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./errnoLib.html#top">errnoLib</a></b>, <b><i><a href="./errnoLib.html#errnoSet">errnoSet</a></i>(&nbsp;)</b>, <b><i><a href="./errnoLib.html#errnoGet">errnoGet</a></i>(&nbsp;)</b><hr><a name="errnoSet"></a><p align=right><a href="rtnIndex.html"><i>Libraries :  Routines</i></a></p></blockquote><h1><i>errnoSet</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>errnoSet</i>(&nbsp;)</strong> - set the error status value of the calling task</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS errnoSet    (    int errorValue /* error status value to set */    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine sets the <b>errno</b> variable with a specified error status.It is provided for compatibility with previous versions of VxWorks andsimply accesses <b>errno</b> directly.<p></blockquote><h4>RETURNS</h4><blockquote><p><p>OK, or ERROR if the interrupt nest level is too deep.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./errnoLib.html#top">errnoLib</a></b>, <b><i><a href="./errnoLib.html#errnoGet">errnoGet</a></i>(&nbsp;)</b>, <b><i><a href="./errnoLib.html#errnoOfTaskSet">errnoOfTaskSet</a></i>(&nbsp;)</b><hr><a name="errnoOfTaskSet"></a><p align=right><a href="rtnIndex.html"><i>Libraries :  Routines</i></a></p></blockquote><h1><i>errnoOfTaskSet</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>errnoOfTaskSet</i>(&nbsp;)</strong> - set the error status value of a specified task</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS errnoOfTaskSet    (    int taskId,    /* task ID, 0 means current task */    int errorValue /* error status value */    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine sets the error status for a specified task.If <i>taskId</i> is zero, the calling task is assumed, and <b>errno</b> is set withthe specified error status.<p>This routine is provided primarily for debugging purposes.  Normally,tasks access <b>errno</b> directly to set and get their own error status values.<p></blockquote><h4>RETURNS</h4><blockquote><p>OK, or ERROR if the task does not exist.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./errnoLib.html#top">errnoLib</a></b>, <b><i><a href="./errnoLib.html#errnoSet">errnoSet</a></i>(&nbsp;)</b>, <b><i><a href="./errnoLib.html#errnoOfTaskGet">errnoOfTaskGet</a></i>(&nbsp;)</b></body></html>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美午夜精品一区二区三区| 国产精品青草久久| 国产精品国产精品国产专区不片| 一区二区高清免费观看影视大全| 韩国精品久久久| 欧美在线不卡一区| 中文字幕国产一区| 国产一区二区精品久久99| 91久久精品网| 亚洲欧洲精品一区二区精品久久久| 日本美女一区二区三区视频| 欧洲亚洲国产日韩| 亚洲欧美国产三级| 懂色av中文一区二区三区| 欧美一区二区在线免费播放| 亚洲欧美成人一区二区三区| 丰满白嫩尤物一区二区| 亚洲精品在线网站| 另类成人小视频在线| 欧美日韩www| 亚洲午夜在线视频| 91国产精品成人| 亚洲色图一区二区| 99久久国产综合精品色伊 | 一本到一区二区三区| 中文字幕成人在线观看| 国产成人免费在线观看| 国产色婷婷亚洲99精品小说| 激情文学综合丁香| 精品999在线播放| 国产精品一区二区视频| 国产午夜精品久久| 成人午夜av影视| 国产精品婷婷午夜在线观看| 成人免费高清在线| 欧美国产一区二区| 91在线码无精品| 亚洲国产综合色| 91精品国产91久久久久久最新毛片 | 中文字幕在线一区免费| 粉嫩高潮美女一区二区三区| 久久九九影视网| 99久久国产免费看| 一二三四区精品视频| 精品视频一区 二区 三区| 亚洲成人三级小说| 日韩视频国产视频| 高清beeg欧美| 一区二区在线观看视频| 在线播放视频一区| 国产另类ts人妖一区二区| 国产精品沙发午睡系列990531| eeuss鲁一区二区三区| 亚洲另类在线一区| 777奇米成人网| 国产电影一区在线| 亚洲久草在线视频| 3d动漫精品啪啪| 国产馆精品极品| 亚洲精品日韩综合观看成人91| 欧美日本在线播放| 国产精品18久久久久久vr| 中文字幕亚洲一区二区av在线 | 成人精品视频一区| 亚洲一区在线看| 久久一区二区三区四区| 一本到高清视频免费精品| 日韩在线观看一区二区| 欧美高清在线视频| 欧美精品电影在线播放| 成人免费视频国产在线观看| 亚洲国产综合色| 国产精品青草久久| 欧美电影免费观看高清完整版在线观看| 国产乱淫av一区二区三区| 亚洲国产日韩精品| 国产欧美日韩综合精品一区二区| 91福利视频久久久久| 国产超碰在线一区| 日韩激情一区二区| 亚洲精选视频免费看| 精品sm在线观看| 欧美一区二区性放荡片| 91丨porny丨蝌蚪视频| 国产一二精品视频| 日韩精品国产精品| 亚洲欧美一区二区三区极速播放 | 国产在线精品一区二区三区不卡 | 不卡视频一二三| 久久97超碰国产精品超碰| 一区二区三区欧美日| 国产午夜精品一区二区三区视频| 欧美一级欧美三级在线观看| 91美女福利视频| 成人av在线资源网| 国产一区二区三区不卡在线观看 | 亚洲福中文字幕伊人影院| 国产精品久久久久久福利一牛影视| 欧美一区二区三区免费视频 | 日韩精品亚洲专区| 亚洲影院免费观看| 一区二区三区四区亚洲| 国产精品久99| 国产精品美女久久久久久久久| 久久久蜜臀国产一区二区| 欧美精品一区二区蜜臀亚洲| 欧美精品成人一区二区三区四区| 日本国产一区二区| 91免费看视频| 色婷婷亚洲婷婷| 一本色道**综合亚洲精品蜜桃冫 | 欧美高清视频不卡网| 在线观看日产精品| 色婷婷综合激情| 欧美中文字幕一区| 精品婷婷伊人一区三区三| 欧美综合亚洲图片综合区| 日本久久一区二区三区| 在线观看成人免费视频| 欧美日韩久久一区| 日韩午夜精品视频| 精品国产乱码久久久久久闺蜜| 精品国产乱码久久久久久夜甘婷婷 | 欧美日韩一区二区三区不卡| 色狠狠色狠狠综合| 欧美日韩国产片| 日韩午夜在线播放| 国产欧美日韩久久| 亚洲激情在线播放| 性做久久久久久久免费看| 调教+趴+乳夹+国产+精品| 日本亚洲天堂网| 国产91对白在线观看九色| www.性欧美| 欧美人体做爰大胆视频| 日韩精品专区在线影院重磅| 国产午夜亚洲精品羞羞网站| 亚洲视频精选在线| 五月天中文字幕一区二区| 国产一区欧美一区| 97se亚洲国产综合自在线不卡| 欧美日韩中文字幕一区| 欧美精品一区二区三区蜜臀| 国产精品久久久久影院亚瑟| 亚洲chinese男男1069| 精品一区二区三区蜜桃| k8久久久一区二区三区| 欧美午夜宅男影院| 久久久久久夜精品精品免费| 一区二区三区四区国产精品| 蜜臀av一级做a爰片久久| 99精品偷自拍| 日韩精品中文字幕在线不卡尤物| 国产精品三级av在线播放| 亚洲福利视频三区| 国产白丝精品91爽爽久久| 欧美性猛片xxxx免费看久爱| 久久亚洲一级片| 日韩精品午夜视频| 一本到不卡精品视频在线观看| 日韩视频在线永久播放| 亚洲精品va在线观看| 国产精品资源站在线| 欧美日本视频在线| 亚洲欧美一区二区久久| 国产一区二区三区在线观看免费| 在线观看国产日韩| 国产精品久久毛片| 国产一区二区在线看| 欧美日韩精品免费| 亚洲免费高清视频在线| 高清不卡在线观看| 亚洲精品在线观看网站| 亚洲大尺度视频在线观看| 91尤物视频在线观看| 国产香蕉久久精品综合网| 免费不卡在线观看| 制服丝袜中文字幕一区| 亚洲激情av在线| 成人毛片在线观看| 国产欧美日韩精品一区| 久久99久久99小草精品免视看| 欧美日韩高清一区二区不卡 | 久久精品夜夜夜夜久久| 免费观看日韩av| 欧美人与性动xxxx| 亚洲成人手机在线| 欧美日韩精品系列| 亚欧色一区w666天堂| 欧美视频一二三区| 亚洲第一狼人社区| 欧美年轻男男videosbes| 亚洲图片欧美视频| 欧美亚洲日本一区| 亚洲福中文字幕伊人影院| 精品视频一区三区九区| 日韩福利电影在线观看| 欧美一区二区三区在线电影| 日日摸夜夜添夜夜添精品视频| 欧美专区在线观看一区|