From 775806d32b73ebfe7abaec6e172de336431eca0d Mon Sep 17 00:00:00 2001 From: Paul LeoNerd Evans Date: Thu, 8 Mar 2012 21:58:27 +0000 Subject: Added documentation for termkey_{start,stop}, termkey_is_started --- man/termkey_waitkey.3.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'man/termkey_waitkey.3.sh') diff --git a/man/termkey_waitkey.3.sh b/man/termkey_waitkey.3.sh index 8e59e24..5a219b4 100644 --- a/man/termkey_waitkey.3.sh +++ b/man/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. 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. +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. If this is called with terminal IO stopped, due to \fBtermkey_stop\fP(3) then \fIerrno\fP will be set to \fBEINVAL\fP. .SH EXAMPLE The following example program prints details of every keypress until the user presses "Ctrl-C". .PP -- cgit v1.2.3