loksh-noxz

[fork] a Linux port of OpenBSD's ksh
git clone https://noxz.tech/git/loksh-noxz.git
Log | Files | README

tty.h
1/*	$OpenBSD: tty.h,v 1.6 2015/09/25 11:58:14 nicm Exp $	*/
2
3/*
4	tty.h -- centralized definitions for a variety of terminal interfaces
5
6	created by DPK, Oct. 1986
7
8	Rearranged to work with autoconf, added TTY_state, get_tty/set_tty
9						Michael Rendell, May '94
10
11	last edit:	30-Jul-1987	D A Gwyn
12*/
13
14#include <termios.h>
15
16extern int		tty_fd;		/* dup'd tty file descriptor */
17extern int		tty_devtty;	/* true if tty_fd is from /dev/tty */
18extern struct termios	tty_state;	/* saved tty state */
19
20extern void	tty_init(int);
21extern void	tty_close(void);