|
|
HP-UX Reference Volume 3 of 5 > sstty(2) |
|
NAMEstty(), gtty() — control terminal device (Bell Version 6 compatibility) SYNOPSIS#include <sgtty.h> int stty(int fildes, const struct sgttyb *argp); int gtty(int fildes, struct sgttyb *argp); RemarksThese system calls are preserved for backward compatibility with Bell Version 6. They provide as close an approximation as possible to the old Version 6 functions. All new code should use the TCSETA and TCGETA ioctl() calls described in termio(7). DESCRIPTIONFor certain status settings and status inquiries about terminal devices, the functions stty() and gtty() are equivalent to ioctl(fildes, TIOCSETP, argp) and ioctl(fildes, TIOCGETP, argp) RETURN VALUEgtty() and stty() return the following values:
|
|