aboutsummaryrefslogtreecommitdiffstats
path: root/doc/gawktexi.in
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2014-08-03 22:09:27 +0300
committerArnold D. Robbins <arnold@skeeve.com>2014-08-03 22:09:27 +0300
commit4bfa1b9c2e5ef3bb08eb107bd9aca7a8748ce209 (patch)
treed879293b279feb4abe51d55b1230c2dffaae8731 /doc/gawktexi.in
parentd3bd5c88e7505063348d88604180d3e1e6e0f5a9 (diff)
parent8f2f7ef2872a9a95dc1506504b60225ef98944f1 (diff)
downloadegawk-4bfa1b9c2e5ef3bb08eb107bd9aca7a8748ce209.tar.gz
egawk-4bfa1b9c2e5ef3bb08eb107bd9aca7a8748ce209.tar.bz2
egawk-4bfa1b9c2e5ef3bb08eb107bd9aca7a8748ce209.zip
Merge branch 'gawk-4.1-stable'
Diffstat (limited to 'doc/gawktexi.in')
-rw-r--r--doc/gawktexi.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/gawktexi.in b/doc/gawktexi.in
index 93139a04..5d599d5e 100644
--- a/doc/gawktexi.in
+++ b/doc/gawktexi.in
@@ -8641,6 +8641,8 @@ and then to print the multibyte encoding of that character.
Similarly, when printing a numeric value, @command{gawk} allows the
value to be within the numeric range of values that can be held
in a wide character.
+If the conversion to multibyte encoding fails, @command{gawk}
+uses the low eight bits of the value as the character to print.
Other @command{awk} versions generally restrict themselves to printing
the first byte of a string or to numeric values within the range of
@@ -30987,8 +30989,8 @@ need to test for a @code{NULL} value. @command{gawk} sets @code{*errcode}
to zero, so there is no need to set it unless an error occurs.
If an error does occur, the function should return @code{EOF} and set
-@code{*errcode} to a non-zero value. In that case, if @code{*errcode}
-does not equal @minus{}1, @command{gawk} automatically updates
+@code{*errcode} to a value greater than zero. In that case, if @code{*errcode}
+does not equal zero, @command{gawk} automatically updates
the @code{ERRNO} variable based on the value of @code{*errcode}.
(In general, setting @samp{*errcode = errno} should do the right thing.)