*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: stty | Section: 3 | Source: Digital UNIX | File: stty.3.gz
stty(3) Library Functions Manual stty(3) NAME stty, gtty - Set and get terminal state SYNOPSIS #include <sgtty.h> stty ( int fd, struct sgttyb *buf ); gtty ( int fd, struct sgttyb *buf ); DESCRIPTION The 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 per- mission. Calls to these subroutines, supported only to ensure BSD binary compat- ibility, have been superseded by the ioctl system call. The stty call is implemented as ioctl(fd, TIOCSETP, buf), while the gtty call is im- plemented as ioctl(fd, TIOCGETP, buf). See ioctl(2) and tty(7) for more information. RETURN VALUES If the call is successful, zero is returned; otherwise, -1 is returned and the global variable errno indicates the reason for the failure. RELATED INFORMATION Functions: ioctl(2) Files: tty(7) delim off stty(3)

Navigation Options