isatty() General Function isatty() Check if a device is a terminal int isatty(fd) int fd; isatty checks to see if a device is a terminal. It returns one if the file descriptor fd describes a terminal, and zero other- wise. ***** Files ***** /dev/* -- Terminal special files /etc/ttys -- Login terminals ***** See Also ***** general functions, ioctl(), tty, ttyname(), ttyslot() COHERENT Lexicon Page 1