diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2014-08-03 22:06:51 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2014-08-03 22:06:51 +0300 |
commit | 8f2f7ef2872a9a95dc1506504b60225ef98944f1 (patch) | |
tree | fc5953eec7188e5088efaca0bd88b30a76312651 /doc/gawktexi.in | |
parent | 9a1a8c22e42af12f5859ef5d159b070f959912e6 (diff) | |
download | egawk-8f2f7ef2872a9a95dc1506504b60225ef98944f1.tar.gz egawk-8f2f7ef2872a9a95dc1506504b60225ef98944f1.tar.bz2 egawk-8f2f7ef2872a9a95dc1506504b60225ef98944f1.zip |
Improve inrec setting ERRNO, doc of API get_record for errors.
Diffstat (limited to 'doc/gawktexi.in')
-rw-r--r-- | doc/gawktexi.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/gawktexi.in b/doc/gawktexi.in index 7039325b..f13a6f3e 100644 --- a/doc/gawktexi.in +++ b/doc/gawktexi.in @@ -30945,8 +30945,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.) |