summaryrefslogtreecommitdiffstats
path: root/etc/latrace.d/headers/termios.h
blob: 46fcd85d669a38092ef58a6e9691d32d568aa08c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28

/* /usr/include/termios.h */

typedef u_char cc_t;
typedef u_int  speed_t;
typedef u_int  tcflag_t;
typedef void termios;


speed_t cfgetospeed(termios *termios_p);
speed_t cfgetispeed(termios *termios_p);


int cfsetospeed(termios *termios_p, speed_t speed);
int cfsetispeed(termios *termios_p, speed_t speed);
int cfsetspeed(termios *termios_p, speed_t speed);


int tcgetattr(int fd, termios *termios_p);
int tcsetattr(int fd, int optional_actions, termios *termios_p);


void cfmakeraw(termios *termios_p);
int tcsendbreak(int fd, int duration);
int tcdrain(int fd);
int tcflush(int fd, int queue_selector);
int tcflow(int fd, int action);
__pid_t tcgetsid(int fd);