aboutsummaryrefslogtreecommitdiffstats
path: root/gawkapi.h
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 /gawkapi.h
parentd3bd5c88e7505063348d88604180d3e1e6e0f5a9 (diff)
parent8f2f7ef2872a9a95dc1506504b60225ef98944f1 (diff)
downloadegawk-4bfa1b9c2e5ef3bb08eb107bd9aca7a8748ce209.tar.gz
egawk-4bfa1b9c2e5ef3bb08eb107bd9aca7a8748ce209.tar.bz2
egawk-4bfa1b9c2e5ef3bb08eb107bd9aca7a8748ce209.zip
Merge branch 'gawk-4.1-stable'
Diffstat (limited to 'gawkapi.h')
-rw-r--r--gawkapi.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gawkapi.h b/gawkapi.h
index 5ccadc21..090cf797 100644
--- a/gawkapi.h
+++ b/gawkapi.h
@@ -142,8 +142,8 @@ typedef struct awk_input {
* so there is no need to set it unless an error occurs.
*
* If an error does occur, the function should return EOF and set
- * *errcode to a non-zero value. In that case, if *errcode does not
- * equal -1, gawk will automatically update the ERRNO variable based
+ * *errcode to a positive value. In that case, if *errcode is greater
+ * than zero, gawk will automatically update the ERRNO variable based
* on the value of *errcode (e.g., setting *errcode = errno should do
* the right thing).
*/