diff options
author | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2011-08-18 11:20:41 +0100 |
---|---|---|
committer | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2011-08-18 11:20:41 +0100 |
commit | 7a2b79a6402979b4895e78657d59a770d5b082b3 (patch) | |
tree | 06105525116545218b02d5b995d80f451f8e3536 /termkey.h.in | |
parent | 01e5795098bea0fecb29e69e702225cb236dd6f8 (diff) | |
download | termo-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.in | 3 |
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 { |