|
|
coherent
ttyname() General Function ttyname() Identify a terminal cchhaarr *ttttyynnaammee(_f_d) iinntt _f_d; Given a file descriptor fd attached to a terminal, ttyname returns the complete pathname of the special file (normally found in the directory /dev). ***** Files ***** /ddeevv/* -- Terminal special files /eettcc/ttttyyss -- Login terminals ***** See Also ***** general functions, ioctl(), isatty(), tty(), ttyslot() ***** Diagnostics ***** ttyname returns NULL if it cannot find a special file correspon- ding to fd. ***** Notes ***** The string returned by ttyname kept in a static area, and is overwritten by each subsequent call. COHERENT Lexicon Page 1
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.