1TERMKEY_GET_FD(3)          Library Functions Manual          TERMKEY_GET_FD(3)
2
3
4

NAME

6       termkey_get_fd - obtain the file descriptor for the terminal
7

SYNOPSIS

9       #include <termkey.h>
10
11       int termkey_get_fd(TermKey *tk);
12
13       Link with -ltermkey.
14

DESCRIPTION

16       termkey_get_fd()  returns  the  file  descriptor  that  the  termkey(7)
17       instance is using to read bytes from.
18

RETURN VALUE

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

SEE ALSO

24       termkey_new(3), termkey_get_flags(3), termkey(7)
25
26
27
28                                                             TERMKEY_GET_FD(3)
Impressum