gtty() COHERENT System Call gtty() Device-dependent control #include <sgtty.h> int gtty(fd, sgp) int fd; struct sgttyb *sgp; gtty gets attributes of a terminal. It is shorthand notation for ioctl calls with a command argument of TIOCGETP. ***** Files ***** <sgtty.h> ***** See Also ***** COHERENT system calls, exec, ioctl(), open(), read(), stty, write() COHERENT Lexicon Page 1