|
|
1.1 root 1: #define B300 7
2: #define B1200 9
3: #define B2400 11
4: #define B9600 13
5: #define TIOCGETP _IOR(t, 8,struct sgttyb)/* get parameters -- gtty */
6: #define TIOCSETP _IOW(t, 9,struct sgttyb)/* set parameters -- stty */
7: #define CBREAK 0x00000002 /* half-cooked mode */
8: #define LCASE 0x00000004 /* simulate lower case */
9: #define ECHO 0x00000008 /* echo input */
10: #define CRMOD 0x00000010 /* map \r to \r\n on output */
11: #define RAW 0x00000020 /* no i/o processing */
12: #define XTABS 0x00000c00 /* expand tabs on output */
13: struct sgttyb {
14: char sg_ispeed; /* input speed */
15: char sg_ospeed; /* output speed */
16: char sg_erase; /* erase character */
17: char sg_kill; /* kill character */
18: short sg_flags; /* mode flags */
19: };
20: struct tchars {
21: char t_intrc; /* interrupt */
22: char t_quitc; /* quit */
23: char t_startc; /* start output */
24: char t_stopc; /* stop output */
25: char t_eofc; /* end-of-file */
26: char t_brkc; /* input delimiter (like nl) */
27: };
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.