aboutsummaryrefslogtreecommitdiffstats
path: root/doc/info/chap/language-facilities.texinfo
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-11-19 23:38:02 +0100
committerMattias Andrée <maandree@operamail.com>2015-11-19 23:38:02 +0100
commit4132a111276f4410b7326559d8235df652b0560b (patch)
tree67cfcf7b71eeba3999cb74c54b2f8894dc2d84b2 /doc/info/chap/language-facilities.texinfo
parentfix memory leak at failure of execveat (issue #3) (diff)
downloadslibc-4132a111276f4410b7326559d8235df652b0560b.tar.gz
slibc-4132a111276f4410b7326559d8235df652b0560b.tar.bz2
slibc-4132a111276f4410b7326559d8235df652b0560b.tar.xz
etymology for some functions
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--doc/info/chap/language-facilities.texinfo21
1 files changed, 21 insertions, 0 deletions
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.