From 6d6afe788c3ec1f320e12449eee230fb366228c5 Mon Sep 17 00:00:00 2001 From: Paul LeoNerd Evans Date: Wed, 18 Jan 2012 14:03:39 +0000 Subject: Allow passing fd = -1 to constructor to make an instance not associated with an fd; must use push_bytes to provide it input --- man/termkey_get_fd.3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'man/termkey_get_fd.3') 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) -- cgit v1.2.3-54-g00ecf