X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=man3%2Fassert.h.3;h=58f1923e0875f5d5ac2bb4557da69444082ba861;hp=1a532fa71fdc5d1bf2c91cc623565d322db4e419;hb=abc15df6b9fae3374d24c7cf5c3ab94c605b2a6d;hpb=8894c921674bb116d0a7b8f23a55311e7a768019 diff --git a/man3/assert.h.3 b/man3/assert.h.3 index 1a532fa..58f1923 100644 --- a/man3/assert.h.3 +++ b/man3/assert.h.3 @@ -1,39 +1,39 @@ -.\" 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.H 3 -.Os -.\" -.Sh NAME -.Nm assert.h -.Nd verify program assertion -.\" -.Sh SYNOPSIS -.In assert.h -.\" -.Sh DESCRIPTION -The header -.In assert.h -shall define one macro: -.Dv assert() . -.Pp -If -.Dv NDEBUG -was undefined at the most recent inclusion of this header, then it shall be -defined as a macro which will evaluate the scalar expression and, if it is -false, abort the program with a descriptive error message as defined in -.Xr assert 3 . -.\" -.Pp -If -.Dv NDEBUG -was defined at the most recent inclusion of this header, then it shall be -defined as a macro which evaluates as a void expression and -.Sy does not -evaluate its parameter. -.\" -.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.H 3 +.Os +.\" +.Sh NAME +.Nm assert.h +.Nd verify program assertion +.\" +.Sh SYNOPSIS +.In assert.h +.\" +.Sh DESCRIPTION +The header +.In assert.h +shall define one macro: +.Dv assert() . +.Pp +If +.Dv NDEBUG +was undefined at the most recent inclusion of this header, then it shall be +defined as a macro which will evaluate the scalar expression and, if it is +false, abort the program with a descriptive error message as defined in +.Xr assert 3 . +.\" +.Pp +If +.Dv NDEBUG +was defined at the most recent inclusion of this header, then it shall be +defined as a macro which evaluates as a void expression and +.Sy does not +evaluate its parameter. +.\" +.Sh STANDARDS +Conforming to +.St -isoC-90 , .St -isoC-99 . \ No newline at end of file