X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=man3%2Fassert.3;h=937a68b77b870ca78aa1a869b2df9a4e1e8cf88b;hp=09f9307b554e1e3783607b08a8eda8d269f1c062;hb=abc15df6b9fae3374d24c7cf5c3ab94c605b2a6d;hpb=8894c921674bb116d0a7b8f23a55311e7a768019 diff --git a/man3/assert.3 b/man3/assert.3 index 09f9307..937a68b 100644 --- a/man3/assert.3 +++ b/man3/assert.3 @@ -1,43 +1,43 @@ -.\" 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 , +.\" 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