X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=man%2Fassert.3;fp=man%2Fassert.3;h=0000000000000000000000000000000000000000;hb=5dffc6a444fc022d7cca6bff4033d471a757aa57;hp=d2874e384fd345183b6d096afcb284f6f2e34913;hpb=c454b5c6ac2e92d8963b96b3e508a13026c58c45;p=pdclib diff --git a/man/assert.3 b/man/assert.3 deleted file mode 100644 index d2874e3..0000000 --- a/man/assert.3 +++ /dev/null @@ -1,43 +0,0 @@ -.\" This file is part of the Public Domain C Library (PDCLib). -.\" Permission is granted to use, modify, and / or redistribute at will. -.\" -.Dd -.Dt assert 3 -.Os - -.Sh NAME -.Nm assert -.Nd validate assertion - -.Sh SYNOPSIS -.In assert.h -.Fn "void assert" "" - -.Sh DESCRIPTION -If -.Dv NDEBUG -was defined when -.In assert.h -was last included, the macro -.Nm -results in no code being generated. Otherwise, if the expression evaluates to -false, an error message is printed to -.Va stderr -and execution is terminated by invoking -.Fn abort . -.Sh IMPLEMENTATION NOTES -The enclosing function of the call to -.Nm -will only be printed in the error message when compiling for C99, or a later -revision of the C standard. - -.Sh SEE ALSO -.Xr _Exit 3 -.Xr quick_exit 3 -.Xr exit 3 -.Xr abort 3 - -.Sh STANDARDS -Conforming to -.St -isoC-90 , -.St -isoC-99 . \ No newline at end of file