|
NAMEtermkey_get_fd - obtain the file descriptor for the terminalSYNOPSIS#include <termkey.h> int termkey_get_fd(TermKey *tk); Link with -ltermkey. DESCRIPTIONtermkey_get_fd() returns the file descriptor that the termkey(7) instance is using to read bytes from.RETURN VALUEtermkey_get_fd() returns the current file descriptor, or -1 if no file descriptor is associated with this instance.SEE ALSOtermkey_new(3), termkey_get_flags(3), termkey(7) Visit the GSP FreeBSD Man Page Interface. |