11 #define __NEED_struct_winsize
13 #include <bits/alltypes.h>
15 typedef unsigned char cc_t
;
16 typedef unsigned int speed_t
;
17 typedef unsigned int tcflag_t
;
21 #include <bits/termios.h>
23 speed_t
cfgetospeed (const struct termios
*);
24 speed_t
cfgetispeed (const struct termios
*);
25 int cfsetospeed (struct termios
*, speed_t
);
26 int cfsetispeed (struct termios
*, speed_t
);
28 int tcgetattr (int, struct termios
*);
29 int tcsetattr (int, int, const struct termios
*);
31 int tcgetwinsize (int, struct winsize
*);
32 int tcsetwinsize (int, const struct winsize
*);
34 int tcsendbreak (int, int);
36 int tcflush (int, int);
37 int tcflow (int, int);
41 #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
42 void cfmakeraw(struct termios
*);
43 int cfsetspeed(struct termios
*, speed_t
);