Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
TERMKEY_GET_FD(3)	   Library Functions Manual	     TERMKEY_GET_FD(3)

NAME
       termkey_get_fd -	obtain the file	descriptor for the terminal

SYNOPSIS
       #include	<termkey.h>

       int termkey_get_fd(TermKey *tk);

       Link with -ltermkey.

DESCRIPTION
       termkey_get_fd()	 returns  the  file descriptor that the	termkey(7) in-
       stance is using to read bytes from.

RETURN VALUE
       termkey_get_fd()	returns	the current file descriptor, or	-1 if no  file
       descriptor is associated	with this instance.

SEE ALSO
       termkey_new(3), termkey_get_flags(3), termkey(7)

							     TERMKEY_GET_FD(3)

NAME | SYNOPSIS | DESCRIPTION | RETURN VALUE | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=termkey_get_fd&sektion=3&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help