Query: stty
OS: osf1
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
stty(3) Library Functions Manual stty(3)NAMEstty, gtty - Set and get terminal stateSYNOPSIS#include <sgtty.h> stty ( int fd, struct sgttyb *buf ); gtty ( int fd, struct sgttyb *buf );DESCRIPTIONThe stty subroutine sets the state of the terminal associated with fd. The gtty subroutine retrieves the state of the terminal associated with fd. To set the state of a terminal, the stty call must have write permission. Calls to these subroutines, supported only to ensure BSD binary compatibility, have been superseded by the ioctl system call. The stty call is implemented as ioctl(fd, TIOCSETP, buf), while the gtty call is implemented as ioctl(fd, TIOCGETP, buf). See ioctl(2) and tty(7) for more information.RETURN VALUESIf the call is successful, zero is returned; otherwise, -1 is returned and the global variable errno indicates the reason for the failure.RELATED INFORMATIONFunctions: ioctl(2) Files: tty(7) delim off stty(3)
Related Man Pages |
---|
gtty(3) - netbsd |
ttty(7) - osf1 |
sttyv6(7) - hpux |
kkcd(8) - osf1 |
termio(7) - redhat |
Similar Topics in the Unix Linux Community |
---|
expect and stty paths are different and resulting in error. |
stty: error occurs when installing rpm |
trap command |
Serial standard communication (stty) |
Stty help in korn shell |