📄 assert.3
字号:
.\" @(#)assert.3 6.2 (Berkeley) 5/12/86.\".TH ASSERT 3 "May 12, 1986".AT 3.SH NAMEassert \- program verification.SH SYNOPSIS.nf.ft B#include <assert.h>void assert(int \fIexpression\fP).fi.SH DESCRIPTION.B Assertis a macro that indicates.I expressionis expected to be true at this point in the program.It causes an.BR abort (3)with a diagnostic comment on the standard output when.I expressionis false (0).Compiling with the .BR cc (1)option.SM.B \-DNDEBUGeffectively deletes.B assertfrom the program..SH DIAGNOSTICS`Assertion "\fIexpression\fR" failed: file.I fline.IR n .'.I Fis the source file and.I nthe source line number of the.B assertstatement.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -