make [U]INTn_C() macros have the right type...
[musl] / include / termios.h
1 #ifndef _TERMIOS_H
2 #define _TERMIOS_H
3
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7
8 #define __NEED_pid_t
9
10 #include <bits/alltypes.h>
11
12 typedef unsigned char cc_t;
13 typedef unsigned int speed_t;
14 typedef unsigned int tcflag_t;
15
16 #define NCCS 32
17
18 #include <bits/termios.h>
19
20 speed_t cfgetospeed (const struct termios *);
21 speed_t cfgetispeed (const struct termios *);
22 int cfsetospeed (struct termios *, speed_t);
23 int cfsetispeed (struct termios *, speed_t);
24
25 int tcgetattr (int, struct termios *);
26 int tcsetattr (int, int, const struct termios *);
27
28 int tcsendbreak (int, int);
29 int tcdrain (int);
30 int tcflush (int, int);
31 int tcflow (int, int);
32
33 pid_t tcgetsid (int);
34
35 #ifdef __cplusplus
36 }
37 #endif
38
39 #endif