diff options
author | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2012-01-21 00:52:13 +0000 |
---|---|---|
committer | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2012-01-21 00:52:13 +0000 |
commit | dc5ce2331628be2a59eb849e07040d5e76a1f49c (patch) | |
tree | 6cac3f18997eb7c30886d217c3bcbebffb16e2c4 /man/termkey_advisereadable.3 | |
parent | c3de4f7801991f13d5a334f3450f766afda2bea7 (diff) | |
download | termo-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_advisereadable.3')
-rw-r--r-- | man/termkey_advisereadable.3 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/man/termkey_advisereadable.3 b/man/termkey_advisereadable.3 index 2d7ca4a..2c02c41 100644 --- a/man/termkey_advisereadable.3 +++ b/man/termkey_advisereadable.3 @@ -10,7 +10,7 @@ termkey_advisereadable \- read more bytes from the underlying terminal .sp Link with \fI-ltermkey\fP. .SH DESCRIPTION -\fBtermkey_advisereadable\fP() informs the instance that new input may be available on the underlying file descriptor and so it should call \fBread\fP(2) to obtain it. If at least one more byte was read it will return \fBTERMKEY_RES_AGAIN\fP to indicate it may be useful to call \fBtermkey_getkey\fP(3) again. If no more input was read then \fBTERMKEY_RES_NONE\fP is returned. If there was no buffer space remaining, then \fBTERMKEY_RES_ERROR\fP is returned with \fIerrno\fP set to \fBENOMEM\fP. If no filehandle is associated with this instance, \fBTERMKEY_RES_ERROR\fP is returned with \fIerrno\fP set to \fBEBADF\fP. +\fBtermkey_advisereadable\fP() informs the \fBtermkey\fP(7) instance that new input may be available on the underlying file descriptor and so it should call \fBread\fP(2) to obtain it. If at least one more byte was read it will return \fBTERMKEY_RES_AGAIN\fP to indicate it may be useful to call \fBtermkey_getkey\fP(3) again. If no more input was read then \fBTERMKEY_RES_NONE\fP is returned. If there was no buffer space remaining, then \fBTERMKEY_RES_ERROR\fP is returned with \fIerrno\fP set to \fBENOMEM\fP. If no filehandle is associated with this instance, \fBTERMKEY_RES_ERROR\fP is returned with \fIerrno\fP set to \fBEBADF\fP. .PP This function, along with \fBtermkey_getkey\fP(3) make it possible to use the termkey instance in an asynchronous program. To provide bytes without using a readable file handle, use \fBtermkey_push_bytes\fP(3). .PP @@ -27,7 +27,7 @@ No nore bytes were read. .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. .SH "SEE ALSO" -.BR termkey_new (3), .BR termkey_getkey (3), .BR termkey_waitkey (3), -.BR termkey_set_waittime (3) +.BR termkey_set_waittime (3), +.BR termkey (7) |