Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
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 de-
       scribed in termio(7).

DESCRIPTION
       For certain status settings and status  inquiries  about	 terminal  de-
       vices, 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)

NAME | SYNOPSIS | DESCRIPTION | RETURN VALUE | ERRORS | WARNINGS | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=stty&sektion=2&manpath=HP-UX+11.22>

home | help