| #include <bits/alltypes.h> |
| typedef unsigned char cc_t; |
| typedef unsigned int speed_t; |
| typedef unsigned int tcflag_t; |
| #include <bits/termios.h> |
| speed_t cfgetospeed (const struct termios *); |
| speed_t cfgetispeed (const struct termios *); |
| int cfsetospeed (struct termios *, speed_t); |
| int cfsetispeed (struct termios *, speed_t); |
| int tcgetattr (int, struct termios *); |
| int tcsetattr (int, int, const struct termios *); |
| int tcsendbreak (int, int); |
| #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) |
| void cfmakeraw(struct termios *); |
| int cfsetspeed(struct termios *, speed_t); |