gtty man page on OSF1

Man page or keyword search:  
man Server   12896 pages
apropos Keyword Search (all sections)
Output format
OSF1 logo
[printable version]

stty(3)								       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  associ‐
       ated 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 compat‐
       ibility,	 have  been  superseded by the ioctl() system call. The stty()
       call is implemented as ioctl(fd, TIOCSETP, buf), and the gtty() call is
       implemented  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.

SEE ALSO
       Functions: ioctl(2)

       Files: tty(7)

								       stty(3)
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server OSF1

List of man pages available for OSF1

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net