aboutsummaryrefslogtreecommitdiff
path: root/man/termkey_get_fd.3
diff options
context:
space:
mode:
Diffstat (limited to 'man/termkey_get_fd.3')
-rw-r--r--man/termkey_get_fd.35
1 files changed, 3 insertions, 2 deletions
diff --git a/man/termkey_get_fd.3 b/man/termkey_get_fd.3
index d94de5f..86b60b6 100644
--- a/man/termkey_get_fd.3
+++ b/man/termkey_get_fd.3
@@ -10,9 +10,10 @@ termkey_get_fd \- obtain the file descriptor for the terminal
.sp
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).
+\fBtermkey_get_fd\fP() returns the file descriptor that the \fBtermkey\fP(7) instance is using to read bytes from.
.SH "RETURN VALUE"
\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)
+.BR termkey_get_flags (3),
+.BR termkey (7)