aboutsummaryrefslogtreecommitdiffstats
path: root/doc/info/chap/language-facilities.texinfo
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-10-13 13:22:05 +0200
committerMattias Andrée <maandree@operamail.com>2015-10-13 13:22:05 +0200
commit43ebeecb05c78e5196f4dc5748ba8a8a094b7f6e (patch)
tree06e38eedc1106625b5a1168a4f755e2d0326c80b /doc/info/chap/language-facilities.texinfo
parentfix strrchr bug, return the end of the string if c is 0 (diff)
downloadslibc-43ebeecb05c78e5196f4dc5748ba8a8a094b7f6e.tar.gz
slibc-43ebeecb05c78e5196f4dc5748ba8a8a094b7f6e.tar.bz2
slibc-43ebeecb05c78e5196f4dc5748ba8a8a094b7f6e.tar.xz
m info
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--doc/info/chap/language-facilities.texinfo18
1 files changed, 11 insertions, 7 deletions
diff --git a/doc/info/chap/language-facilities.texinfo b/doc/info/chap/language-facilities.texinfo
index 04b95cf..25d8c2c 100644
--- a/doc/info/chap/language-facilities.texinfo
+++ b/doc/info/chap/language-facilities.texinfo
@@ -1,6 +1,10 @@
@node Language facilities
@chapter Language facilities
+Some of the facilities implemented in the C standard
+library should be thought of as parts of the C
+programming language itself. These facilities are
+documented in this chapter.
@menu
@@ -339,13 +343,13 @@ considered a C language facility.
@table @code
@item void assert(bool expression)
-If and only if the expression evaluates to a zero
-value, the program prints what failed --- the
-expression, the filename, the line in the source
-code, and if C99 is used, the function where the
-assertion took place --- and aborts the process.
-If the expression evaluates non-zero value,
-nothing happens.
+If and only if the expression evaluates to a
+zero value, the program prints, to stderr, what
+failed --- the expression, the filename, the
+line in the source code, and if C99 is used, the
+function where the assertion took place --- and
+aborts the process. If the expression evaluates
+non-zero value, nothing happens.
The expression must not have said effects.
@sc{POSIX} specifies that the expression