12 #include <bits/alltypes.h>
14 typedef unsigned char cc_t;
15 typedef unsigned int speed_t;
16 typedef unsigned int tcflag_t;
19 unsigned short ws_row;
20 unsigned short ws_col;
21 unsigned short ws_xpixel;
22 unsigned short ws_ypixel;
27 #include <bits/termios.h>
29 speed_t cfgetospeed (const struct termios *);
30 speed_t cfgetispeed (const struct termios *);
31 int cfsetospeed (struct termios *, speed_t);
32 int cfsetispeed (struct termios *, speed_t);
34 int tcgetattr (int, struct termios *);
35 int tcsetattr (int, int, const struct termios *);
37 int tcgetwinsize (int, struct winsize *);
38 int tcsetwinsize (int, const struct winsize *);
40 int tcsendbreak (int, int);
42 int tcflush (int, int);
43 int tcflow (int, int);
47 #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
48 void cfmakeraw(struct termios *);
49 int cfsetspeed(struct termios *, speed_t);