assert.3
来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· 3 代码 · 共 40 行
3
40 行
.\" SCCSID: @(#)assert.3 8.1 9/11/90.TH assert 3.SH Nameassert \- program verification.SH Syntax.B #include <assert.h>.PP.B assert(\fIexpression\fP).SH Description.NXR "assert macro".NXR "program" "verifying"The.PN assertmacro indicates.I expressionis expected to be true at this point in the program.It causes an .MS abort 3 with a diagnostic comment on the standard error when.I expressionis false (0).Compiling with the .MS cc 1option \-DNDEBUG effectively deletes.PN assertfrom the program..SH Diagnostics`Assertion failed: a, file.I f.I n'.The.I a is the assertion that failed; .I fis the source file and.I nthe source line number of the.PN assertstatement.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?