* Structure for stty and gtty system calls.
char sg_ispeed
; /* input speed */
char sg_ospeed
; /* output speed */
char sg_erase
; /* erase character */
char sg_kill
; /* kill character */
int sg_flags
; /* mode flags */
#define TIOCGETD (('t'<<8)|0)
#define TIOCSETD (('t'<<8)|1)
#define TIOCHPCL (('t'<<8)|2)
#define TIOCMODG (('t'<<8)|3)
#define TIOCMODS (('t'<<8)|4)
#define TIOCGETP (('t'<<8)|8)
#define TIOCSETP (('t'<<8)|9)
#define TIOCSETN (('t'<<8)|10)
#define TIOCEXCL (('t'<<8)|13)
#define TIOCNXCL (('t'<<8)|14)
#define TIOCTSTP (('t'<<8)|16)
#define DIOCGETP (('d'<<8)|8)
#define DIOCSETP (('d'<<8)|9)
#define FIOCLEX (('f'<<8)|1)
#define FIONCLEX (('f'<<8)|2)