diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-10-13 13:22:05 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-10-13 13:22:05 +0200 |
commit | 43ebeecb05c78e5196f4dc5748ba8a8a094b7f6e (patch) | |
tree | 06e38eedc1106625b5a1168a4f755e2d0326c80b /doc/info/chap/language-facilities.texinfo | |
parent | fix strrchr bug, return the end of the string if c is 0 (diff) | |
download | slibc-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.texinfo | 18 |
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 |