diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2014-08-03 22:09:27 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2014-08-03 22:09:27 +0300 |
commit | 4bfa1b9c2e5ef3bb08eb107bd9aca7a8748ce209 (patch) | |
tree | d879293b279feb4abe51d55b1230c2dffaae8731 /doc/gawk.texi | |
parent | d3bd5c88e7505063348d88604180d3e1e6e0f5a9 (diff) | |
parent | 8f2f7ef2872a9a95dc1506504b60225ef98944f1 (diff) | |
download | egawk-4bfa1b9c2e5ef3bb08eb107bd9aca7a8748ce209.tar.gz egawk-4bfa1b9c2e5ef3bb08eb107bd9aca7a8748ce209.tar.bz2 egawk-4bfa1b9c2e5ef3bb08eb107bd9aca7a8748ce209.zip |
Merge branch 'gawk-4.1-stable'
Diffstat (limited to 'doc/gawk.texi')
-rw-r--r-- | doc/gawk.texi | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/gawk.texi b/doc/gawk.texi index 1fb343de..b4c167ae 100644 --- a/doc/gawk.texi +++ b/doc/gawk.texi @@ -9022,6 +9022,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 @@ -31872,8 +31874,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.) |