hpux man page for stty

Query: stty

OS: hpux

Section: 2

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

stty(2) 							System Calls Manual							   stty(2)

NAME
stty(), gtty() - control terminal device (Bell Version 6 compatibility)
SYNOPSIS
Remarks 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).
DESCRIPTION
For certain status settings and status inquiries about terminal devices, the functions and are equivalent to and respectively (see ioctl(2) and termio(7).
RETURN VALUE
and return the following values: Successful completion. Failure. is set to indicate the error.
ERRORS
If or fails, is set to one of the following values: [EBADF] is not a valid file descriptor. [EFAULT] points to an invalid address.
WARNINGS
Obsolescent Interfaces and are to be obsoleted at a future date.
SEE ALSO
stty(1), exec(2), ioctl(2), sttyV6(7), termio(7), tty(7). TO BE OBSOLETED stty(2)
Related Man Pages
termio(7) - centos
termio(7) - redhat
termio(7) - osx
termio(7) - xfree86
termio(7) - posix
Similar Topics in the Unix Linux Community
stty: : Not a typewriter
ps truncated output
Stty settings before login
Stty: : No such device or address
Serial standard communication (stty)