aboutsummaryrefslogtreecommitdiff
path: root/man/termkey_getkey.3.sh
diff options
context:
space:
mode:
Diffstat (limited to 'man/termkey_getkey.3.sh')
-rw-r--r--man/termkey_getkey.3.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/man/termkey_getkey.3.sh b/man/termkey_getkey.3.sh
index f95a439..c18b5a8 100644
--- a/man/termkey_getkey.3.sh
+++ b/man/termkey_getkey.3.sh
@@ -36,7 +36,7 @@ Before returning, this function canonicalises the \fIkey\fP structure according
.SH "RETURN VALUE"
\fBtermkey_getkey\fP() returns an enumeration of one of \fBTERMKEY_RES_KEY\fP, \fBTEMRKEY_RES_AGAIN\fP, \fBTERMKEY_RES_NONE\fP or \fBTERMKEY_RES_EOF\fP. \fBtermkey_getkey_force\fP() returns one of the above, except for \fBTERMKEY_RES_AGAIN\fP.
.SH EXAMPLE
-The following example program prints details of every keypress until the user presses "Ctrl-C". It demonstrates how to use the \fBtermkey\fP instance in a typical \fBpoll\fP()-driven asynchronous program, which may include mixed IO with other file handles.
+The following example program prints details of every keypress until the user presses "Ctrl-C". It demonstrates how to use the \fBtermkey\fP instance in a typical \fBpoll\fP(2)-driven asynchronous program, which may include mixed IO with other file handles.
.PP
.in +4n
.nf