stty(2)stty(2)NAMEstty(), gtty() - control terminal device (Bell Version 6 compatibility)
These 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 and calls
described in termio(7).
For certain status settings and status inquiries about terminal
devices, the functions and are equivalent to
respectively (see ioctl(2) and termio(7).
and return the following values:
is set to indicate the error.
If or fails, is set to one of the following values:
[EBADF] is not a valid file descriptor.
[EFAULT] points to an invalid address.
and are to be obsoleted at a future date.
SEE ALSOstty(1), exec(2), ioctl(2), sttyV6(7), termio(7), tty(7).
TO BE OBSOLETED stty(2)