summaryrefslogtreecommitdiff
path: root/xxx/sys/sgtty.h
blob: 24d0218fb8874f1457bd4e5bf8a578b9eb844454 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#define TIOCFLUSH 0x01
#define RAW 0x02
#define CBREAK 0x04
#define XTABS 0x08
#define CRMOD 0x10
#define ECHO 0x20

// TODO: same struct should be used for /terminal/terminal.h ?
struct sgttyb{

    int sg_ospeed;
    int sg_ispeed;

    char sg_erase;
    char sg_kill;

    int sg_flags;

};