From 4132a111276f4410b7326559d8235df652b0560b Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 19 Nov 2015 23:38:02 +0100 Subject: etymology for some functions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- doc/info/chap/language-facilities.texinfo | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'doc/info/chap/language-facilities.texinfo') diff --git a/doc/info/chap/language-facilities.texinfo b/doc/info/chap/language-facilities.texinfo index 19cfec0..fe27446 100644 --- a/doc/info/chap/language-facilities.texinfo +++ b/doc/info/chap/language-facilities.texinfo @@ -356,6 +356,13 @@ The expression must not have said effects. must not be evaluated if @code{NDEBUG} is defined. If @code{NDEBUG} is defined, @code{assert} has no effect, but is defined. + +@ifnottex +Etymology: (Assertion). +@end ifnottex +@iftex +Etymology: @b{Assert}ion. +@end iftex @end table If @command{slibc} extensions or GNU extensions @@ -369,6 +376,13 @@ This macro is identical to @code{assert}, except the argument should be an error code, and a description of it is printed before the process exits. (Nothing happens if @code{errnum} is zero.) + +@ifnottex +Etymology: (@code{assert}) version of (@code{perror}). +@end ifnottex +@iftex +Etymology: @b{assert} version of @b{perror}. +@end iftex @end table @fnindex static_assert @@ -382,6 +396,13 @@ is included. @code{static_assert} is similar to the message to print if the assertion failed, and the assertion is evaluated at compile-time. +@ifnottex +Etymology: (Static) (assert)ion. +@end ifnottex +@iftex +Etymology: @b{Static} @b{assert}ion. +@end iftex + Assertions should only be used to make sure that impossible conditions are not reached. -- cgit v1.2.3-70-g09d2