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_waitkey.3.sh | |
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_waitkey.3.sh')
-rw-r--r-- | termkey_waitkey.3.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/termkey_waitkey.3.sh b/termkey_waitkey.3.sh index 14f4f71..81d9f6e 100644 --- a/termkey_waitkey.3.sh +++ b/termkey_waitkey.3.sh @@ -25,6 +25,9 @@ A key event as been provided. .TP .B TERMKEY_RES_EOF No key events are ready and the terminal has been closed, so no more will arrive. +.TP +.B TERMKEY_RES_ERROR +An IO error occured. \fIerrno\fP will be preserved. .SH EXAMPLE The following example program prints details of every keypress until the user presses "Ctrl-C". .PP |