aboutsummaryrefslogtreecommitdiff
path: root/man/termkey_push_bytes.3
diff options
context:
space:
mode:
authorPaul LeoNerd Evans <leonerd@leonerd.org.uk>2012-01-21 00:52:13 +0000
committerPaul LeoNerd Evans <leonerd@leonerd.org.uk>2012-01-21 00:52:13 +0000
commitdc5ce2331628be2a59eb849e07040d5e76a1f49c (patch)
tree6cac3f18997eb7c30886d217c3bcbebffb16e2c4 /man/termkey_push_bytes.3
parentc3de4f7801991f13d5a334f3450f766afda2bea7 (diff)
downloadtermo-dc5ce2331628be2a59eb849e07040d5e76a1f49c.tar.gz
termo-dc5ce2331628be2a59eb849e07040d5e76a1f49c.tar.xz
termo-dc5ce2331628be2a59eb849e07040d5e76a1f49c.zip
Link to termkey(7) from other manpages, delete some of the duplicated sections
Diffstat (limited to 'man/termkey_push_bytes.3')
-rw-r--r--man/termkey_push_bytes.38
1 files changed, 4 insertions, 4 deletions
diff --git a/man/termkey_push_bytes.3 b/man/termkey_push_bytes.3
index b4e0048..3761034 100644
--- a/man/termkey_push_bytes.3
+++ b/man/termkey_push_bytes.3
@@ -10,14 +10,14 @@ termkey_push_bytes \- supply more bytes to the input buffer
.sp
Link with \fI-ltermkey\fP.
.SH DESCRIPTION
-\fBtermkey_push_bytes\fP() allows more bytes of input to be supplied directly into the input buffer of the termkey instance. If there was no buffer space remaining then -1 is returned with \fIerrno\fP set to \fBENOMEM\fP.
+\fBtermkey_push_bytes\fP() allows more bytes of input to be supplied directly into the input buffer of the \fBtermkey\fP(7) instance. If there was no buffer space remaining then -1 is returned with \fIerrno\fP set to \fBENOMEM\fP.
.PP
-This function, along with \fBtermkey_getkey\fP(3), makes it possible to use the termkey instance with a source of bytes other than from reading a filehandle.
+This function, along with \fBtermkey_getkey\fP(3), makes it possible to use the \fBtermkey\fP instance with a source of bytes other than from reading a filehandle.
.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, in which case \fIerrno\fP is set accordingly.
.SH "SEE ALSO"
-.BR termkey_new (3),
.BR termkey_getkey (3),
-.BR termkey_advisereadable (3)
+.BR termkey_advisereadable (3),
+.BR termkey (7)