aboutsummaryrefslogtreecommitdiff
path: root/termkey.h.in
diff options
context:
space:
mode:
authorPaul LeoNerd Evans <leonerd@leonerd.org.uk>2011-08-18 11:20:41 +0100
committerPaul LeoNerd Evans <leonerd@leonerd.org.uk>2011-08-18 11:20:41 +0100
commit7a2b79a6402979b4895e78657d59a770d5b082b3 (patch)
tree06105525116545218b02d5b995d80f451f8e3536 /termkey.h.in
parent01e5795098bea0fecb29e69e702225cb236dd6f8 (diff)
downloadtermo-7a2b79a6402979b4895e78657d59a770d5b082b3.tar.gz
termo-7a2b79a6402979b4895e78657d59a770d5b082b3.tar.xz
termo-7a2b79a6402979b4895e78657d59a770d5b082b3.zip
Provide a new result value, TERMKEY_RES_ERROR to indicate an IO error - preserve errno
Diffstat (limited to 'termkey.h.in')
-rw-r--r--termkey.h.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/termkey.h.in b/termkey.h.in
index c91f954..33360d8 100644
--- a/termkey.h.in
+++ b/termkey.h.in
@@ -102,7 +102,8 @@ typedef enum {
TERMKEY_RES_NONE,
TERMKEY_RES_KEY,
TERMKEY_RES_EOF,
- TERMKEY_RES_AGAIN
+ TERMKEY_RES_AGAIN,
+ TERMKEY_RES_ERROR
} TermKeyResult;
typedef enum {