Query: ttyname
OS: minix
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
TTYNAME(3) Library Functions Manual TTYNAME(3)NAMEttyname - file descriptor to terminal device nameSYNOPSIS#define _POSIX_SOURCE 1 #include <unistd.h> char *ttyname(int fd)DESCRIPTIONTtyname searches through the /dev directory for the terminal device file that is associated with file descriptor fd. It returns the full path name of the terminal file if found, NULL is returned otherwise.SEE ALSOttyslot(3).AUTHORKees J. Bot (kjb@cs.vu.nl) TTYNAME(3)
Related Man Pages |
---|
ttyname(3) - centos |
ttyname(3) - redhat |
ttyname(3) - suse |
ttyname(3) - osx |
isatty(3) - freebsd |
Similar Topics in the Unix Linux Community |
---|
Pam_UNIX_cred: cannot load ttyname Error 0 |