12 #include <bits/alltypes.h>
14 typedef unsigned char cc_t;
15 typedef unsigned int speed_t;
16 typedef unsigned int tcflag_t;
20 #include <bits/termios.h>
22 speed_t cfgetospeed (const struct termios *);
23 speed_t cfgetispeed (const struct termios *);
24 int cfsetospeed (struct termios *, speed_t);
25 int cfsetispeed (struct termios *, speed_t);
27 int tcgetattr (int, struct termios *);
28 int tcsetattr (int, int, const struct termios *);
30 int tcsendbreak (int, int);
32 int tcflush (int, int);
33 int tcflow (int, int);
37 #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
38 void cfmakeraw(struct termios *);
39 int cfsetspeed(struct termios *, speed_t);