4 typedef unsigned char host_cc_t;
5 typedef unsigned int host_speed_t;
6 typedef unsigned int host_tcflag_t;
10 #include "termios_arch.h"
12 #define HOST_TCSANOW 0
13 #define HOST_TCSADRAIN 1
14 #define HOST_TCSAFLUSH 2
16 int host_tcgetattr (int, struct host_termios *);
17 int host_tcsetattr (int, int, const struct host_termios *);
19 void host_cfmakeraw(struct host_termios *);
20 int host_cfsetispeed(struct host_termios *, host_speed_t);
21 int host_cfsetospeed(struct host_termios *, host_speed_t);
22 int host_cfsetspeed(struct host_termios *, host_speed_t);