aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul LeoNerd Evans <leonerd@leonerd.org.uk>2012-01-18 14:31:25 +0000
committerPaul LeoNerd Evans <leonerd@leonerd.org.uk>2012-01-18 14:31:25 +0000
commit0486ca8212af8f69d2a15c3aa039db55ee0ac022 (patch)
tree62c1f765046be14ead6ac50303da8d6bc1a49f0c
parent14d6bb736ca3f03ad2410958ff312ccff15765fe (diff)
downloadtermo-0486ca8212af8f69d2a15c3aa039db55ee0ac022.tar.gz
termo-0486ca8212af8f69d2a15c3aa039db55ee0ac022.tar.xz
termo-0486ca8212af8f69d2a15c3aa039db55ee0ac022.zip
More minor docs updates
-rw-r--r--man/termkey_getkey.3.sh2
-rw-r--r--man/termkey_push_bytes.32
2 files changed, 2 insertions, 2 deletions
diff --git a/man/termkey_getkey.3.sh b/man/termkey_getkey.3.sh
index 6f210c1..e5f5a31 100644
--- a/man/termkey_getkey.3.sh
+++ b/man/termkey_getkey.3.sh
@@ -20,7 +20,7 @@ Link with \fI-ltermkey\fP.
a complete keypress was removed from the buffer, and has been placed in the \fIkey\fP structure.
.TP
.B TERMKEY_RES_AGAIN
-a partial keypress event was found in the buffer, but it does not yet contain all the bytes required. An indication of what \fBtermkey_getkey_force\fP(3) would return has been placed in the \fIkey\fP structure.
+a partial keypress event was found in the buffer, but it does not yet contain all the bytes required. An indication of what \fBtermkey_getkey_force\fP() would return has been placed in the \fIkey\fP structure.
.TP
.B TERMKEY_RES_NONE
no bytes are waiting in the buffer.
diff --git a/man/termkey_push_bytes.3 b/man/termkey_push_bytes.3
index 0cb70dc..b4e0048 100644
--- a/man/termkey_push_bytes.3
+++ b/man/termkey_push_bytes.3
@@ -16,7 +16,7 @@ This function, along with \fBtermkey_getkey\fP(3), makes it possible to use the
.PP
For synchronous usage, \fBtermkey_waitkey\fP(3) performs the input blocking task. For use against a regular stream filehandle that supports \fBread\fP(2), see \fBtermkey_advisereadable\fP(3).
.SH "RETURN VALUE"
-\fBtermkey_push_bytes\fP() the number of bytes consumed from the input (which may be smaller than the length provided, if the buffer runs out of space) or -1 cast to \fBsize_t\fP if an error occurs.
+\fBtermkey_push_bytes\fP() the number of bytes consumed from the input (which may be smaller than the length provided, if the buffer runs out of space) or -1 cast to \fBsize_t\fP if an error occurs, in which case \fIerrno\fP is set accordingly.
.SH "SEE ALSO"
.BR termkey_new (3),
.BR termkey_getkey (3),