diff options
author | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2011-08-25 10:48:41 +0100 |
---|---|---|
committer | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2011-08-25 10:48:41 +0100 |
commit | 1b8234e3425e518f40e00751cd0e5261649c166e (patch) | |
tree | 54c8fa53251ca96347721961da00aaa43f4c02ce /termkey_waitkey.3.sh | |
parent | 7a2b79a6402979b4895e78657d59a770d5b082b3 (diff) | |
download | termo-1b8234e3425e518f40e00751cd0e5261649c166e.tar.gz termo-1b8234e3425e518f40e00751cd0e5261649c166e.tar.xz termo-1b8234e3425e518f40e00751cd0e5261649c166e.zip |
Provide a flag to return RES_ERROR even on signal (EINTR); without it, retry the operation
Diffstat (limited to 'termkey_waitkey.3.sh')
-rw-r--r-- | termkey_waitkey.3.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/termkey_waitkey.3.sh b/termkey_waitkey.3.sh index 81d9f6e..ee8edaf 100644 --- a/termkey_waitkey.3.sh +++ b/termkey_waitkey.3.sh @@ -27,7 +27,7 @@ A key event as been provided. 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. +An IO error occured. \fIerrno\fP will be preserved. If the error is \fBEINTR\fP then this will only be returned if \fBTERMKEY_FLAG_EINTR\fP flag is not set; if it is then the IO operation will be retried instead. .SH EXAMPLE The following example program prints details of every keypress until the user presses "Ctrl-C". .PP |