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

📄 ansiassert.html

📁 vxworks相关论文
💻 HTML
字号:
<html><head><!-- /vobs/wpwr/docs/vxworks/ref/ansiAssert.html - generated by refgen from ansiAssert.c --> <title> ansiAssert </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>ansiAssert</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>ansiAssert</strong> - ANSI <b>assert</b> documentation </p></blockquote><h4>ROUTINES</h4><blockquote><p><p><b><i><a href="./ansiAssert.html#assert">assert</a></i>(&nbsp;)</b>  -  put diagnostics into programs (ANSI)<br><p></blockquote><h4>DESCRIPTION</h4><blockquote><p>The header <b>assert.h</b> defines the <b><i><a href="./ansiAssert.html#assert">assert</a></i>(&nbsp;)</b> macro and refers to anothermacro, NDEBUG, which is not defined by <b>assert.h</b>.  If NDEBUG is definedas a macro at the point in the source file where <b>assert.h</b> is included,the <b><i><a href="./ansiAssert.html#assert">assert</a></i>(&nbsp;)</b> macro is defined simply as:<pre>    #define assert(ignore) ((void)0)</pre>ANSI specifies that <b><i><a href="./ansiAssert.html#assert">assert</a></i>(&nbsp;)</b> should be implemented as a macro, not as aroutine.  If the macro definition is suppressed in order to access anactual routine, the behavior is undefined.<p></blockquote><h4>INCLUDE FILES</h4><blockquote><p><b>stdio.h</b>, <b>stdlib.h</b>, <b>assert.h</b><p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./ansiAssert.html#top">ansiAssert</a></b>, American National Standard X3.159-1989<hr><a name="assert"></a><p align=right><a href="rtnIndex.html"><i>Libraries :  Routines</i></a></p></blockquote><h1><i>assert</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>assert</i>(&nbsp;)</strong> - put diagnostics into programs (ANSI)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void assert    (    int a    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>If an expression is false (that is, equal to zero), the <b><i><a href="./ansiAssert.html#assert">assert</a></i>(&nbsp;)</b> macrowrites information about the failed call to standard error in animplementation-defined format.  It then calls <b><i><a href="./ansiStdlib.html#abort">abort</a></i>(&nbsp;)</b>.The diagnostic information includes:<br>&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;the&nbsp;text&nbsp;of&nbsp;the&nbsp;argument<br>&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;the&nbsp;name&nbsp;of&nbsp;the&nbsp;source&nbsp;file&nbsp;(value&nbsp;of&nbsp;preprocessor&nbsp;macro&nbsp;<b>__FILE__</b>)<br>&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;the&nbsp;source&nbsp;line&nbsp;number&nbsp;(value&nbsp;of&nbsp;preprocessor&nbsp;macro&nbsp;<b>__LINE__</b>)<p></blockquote><h4>INCLUDE</h4><blockquote><p><b>stdio.h</b>, <b>stdlib.h</b>, <b>assert.h</b><p></blockquote><h4>RETURNS</h4><blockquote><p>N/A</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./ansiAssert.html#top">ansiAssert</a></b></body></html>

⌨️ 快捷键说明

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