aboutsummaryrefslogtreecommitdiff
path: root/man/termkey_get_fd.3
diff options
context:
space:
mode:
authorPaul LeoNerd Evans <leonerd@leonerd.org.uk>2012-01-18 14:03:39 +0000
committerPaul LeoNerd Evans <leonerd@leonerd.org.uk>2012-01-18 14:03:39 +0000
commit6d6afe788c3ec1f320e12449eee230fb366228c5 (patch)
treea7f17b111e20dbe67bcaf5067f2ecd9c00d9f1db /man/termkey_get_fd.3
parent82ad14175cbcc7c0c660720c7a31f8e6f1cefe4e (diff)
downloadtermo-6d6afe788c3ec1f320e12449eee230fb366228c5.tar.gz
termo-6d6afe788c3ec1f320e12449eee230fb366228c5.tar.xz
termo-6d6afe788c3ec1f320e12449eee230fb366228c5.zip
Allow passing fd = -1 to constructor to make an instance not associated with an fd; must use push_bytes to provide it input
Diffstat (limited to 'man/termkey_get_fd.3')
-rw-r--r--man/termkey_get_fd.32
1 files changed, 1 insertions, 1 deletions
diff --git a/man/termkey_get_fd.3 b/man/termkey_get_fd.3
index 733f820..d94de5f 100644
--- a/man/termkey_get_fd.3
+++ b/man/termkey_get_fd.3
@@ -12,7 +12,7 @@ Link with \fI-ltermkey\fP.
.SH DESCRIPTION
\fBtermkey_get_fd\fP() returns the file descriptor that was passed as the \fIfd\fP argument to \fBtermkey_new\fP(3).
.SH "RETURN VALUE"
-\fBtermkey_get_fd\fP() returns the current file descriptor.
+\fBtermkey_get_fd\fP() returns the current file descriptor, or -1 if no file descriptor is associated with this instance.
.SH "SEE ALSO"
.BR termkey_new (3),
.BR termkey_get_flags (3)