COHERENT manpages
This page displays the COHERENT manpage for gtty() [Device-dependent control].
List of available manpages
Index
gtty() -- System Call (libc) 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. Example For examples of this system call, see pipe() and stty(). See Also exec, libc, ioctl(), open(), read(), sgtty.h, stty(), write()