From 8f2f7ef2872a9a95dc1506504b60225ef98944f1 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Sun, 3 Aug 2014 22:06:51 +0300 Subject: Improve inrec setting ERRNO, doc of API get_record for errors. --- gawkapi.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gawkapi.h') 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). */ -- cgit v1.2.3