Lines 10-25
typedef unsigned int tcflag_t;
Link Here
|
10 |
typedef unsigned long tcflag_t; |
10 |
typedef unsigned long tcflag_t; |
11 |
#endif |
11 |
#endif |
12 |
|
12 |
|
13 |
#define NCC 8 |
|
|
14 |
struct termio { |
15 |
unsigned short c_iflag; /* input mode flags */ |
16 |
unsigned short c_oflag; /* output mode flags */ |
17 |
unsigned short c_cflag; /* control mode flags */ |
18 |
unsigned short c_lflag; /* local mode flags */ |
19 |
unsigned char c_line; /* line discipline */ |
20 |
unsigned char c_cc[NCC]; /* control characters */ |
21 |
}; |
22 |
|
23 |
#define NCCS 17 |
13 |
#define NCCS 17 |
24 |
struct termios { |
14 |
struct termios { |
25 |
tcflag_t c_iflag; /* input mode flags */ |
15 |
tcflag_t c_iflag; /* input mode flags */ |