aboutsummaryrefslogtreecommitdiffstats
path: root/gawkapi.h
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2014-08-12 05:56:45 +0300
committerArnold D. Robbins <arnold@skeeve.com>2014-08-12 05:56:45 +0300
commita9298670aee293adad4693604b6b92cac8139d9f (patch)
treeede9b1e047814bb12179920a6b496ec8b20e7d65 /gawkapi.h
parent01f1baef24748e4741572fbd7ed8a1dce522fe95 (diff)
parent6b9d87b595278e606096018ea16615033c5571fe (diff)
downloadegawk-a9298670aee293adad4693604b6b92cac8139d9f.tar.gz
egawk-a9298670aee293adad4693604b6b92cac8139d9f.tar.bz2
egawk-a9298670aee293adad4693604b6b92cac8139d9f.zip
Merge branch 'master' into cmake
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).
*/