|
|
1.1 root 1: /*
2: tty.h -- centralized definitions for a variety of terminal interfaces
3:
4: created by DPK, Oct. 1986
5:
6: last edit: 30-Jul-1987 D A Gwyn
7: */
8:
9: #if _BSD_SYSV /* BRL UNIX System V emulation */
10: #include <termio.h> /* includes <sys/_ioctl.h> */
11: #ifndef NTTYDISC
12: #define TIOCGETD _IOR( 't', 0, int )
13: #define TIOCSETD _IOW( 't', 1, int )
14: #define NTTYDISC 2
15: #endif
16: #ifndef TIOCSTI
17: #define TIOCSTI _IOW( 't', 114, char )
18: #endif
19: #ifndef TIOCSPGRP
20: #define TIOCSPGRP _IOW( 't', 118, int )
21: #endif
22: #else /* !_BSD_SYSV */
23: #if _BSD
24: #include <sys/ioctl.h>
25: #else /* !_BSD */
26: #if COHERENT && !MWC_HP
27: #include <sgtty.h>
28: #endif /* COHERENT */
29: #if !COHERENT || MWC_HP
30: #include <termio.h>
31: #endif
32: #endif /* _BSD */
33: #endif /* _BSD_SYSV */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.