Merge branch 'master' of git://cadel.mutabah.net/acess2
[tpg/acess2.git] / Usermode / Libraries / libposix.so_src / include_exp / termios.h
1 /*
2  * Acess2 POSIX Emulation
3  * - By John Hodge (thePowersGang)
4  *
5  * termios.h
6  * - Terminal Control
7  */
8 #ifndef _LIBPOSIX__TERMIOS_H_
9 #define _LIBPOSIX__TERMIOS_H_
10
11 typedef unsigned char   cc_t;
12 typedef unsigned long   speed_t;
13 typedef unsigned short  tcflag_t;
14
15 enum {
16         VEOF,
17         VEOL,
18         VERASE,
19         VINTR,
20         VKILL,
21         VMIN,
22         VQUIT,
23         VSTART,
24         VSTOP,
25         VSUSP,
26         VTIME,
27         NCCS
28 };
29
30 struct termios
31 {
32         tcflag_t        c_iflag;
33         tcflag_t        c_oflag;
34         tcflag_t        c_cflag;
35         tcflag_t        c_lflag;
36         cc_t    c_cc[NCCS];
37 };
38
39 #endif
40

UCC git Repository :: git.ucc.asn.au