assert.3x

来自「unix v7是最后一个广泛发布的研究型UNIX版本」· 3X 代码 · 共 41 行

3X
41
字号
.TH ASSERT 3X.SH NAMEassert \-program verification.SH SYNOPSIS.B #include <assert.h>.PP.B assert (expression).SH DESCRIPTION.PP.I Assertis a macro that indicates.I expressionis expected to be true at this point in the program.It causes an.IR exit (2)with a diagnostic comment on the standard outputwhen.I expressionis false (0).Compiling with the .IR cc (1)option.SM.B \-DNDEBUGeffectively deletes.I assertfrom the program..SH DIAGNOSTICS`Assertion failed: file.I fline.I n.'.I Fis the source file and.I nthe source line numberof the.I assertstatement.

⌨️ 快捷键说明

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