Stubbed out some more libc functions.
[planlOS.git] / programs / include / termio.h
blob5f06c89d050a51b5bcabf6b62ebe58b2a8fb8e28
1 /*
2 Copyright (C) 2008 Mathias Gottschlag
4 Permission is hereby granted, free of charge, to any person obtaining a copy of
5 this software and associated documentation files (the "Software"), to deal in the
6 Software without restriction, including without limitation the rights to use,
7 copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the
8 Software, and to permit persons to whom the Software is furnished to do so,
9 subject to the following conditions:
11 The above copyright notice and this permission notice shall be included in all
12 copies or substantial portions of the Software.
14 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
15 INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
16 PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
17 HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
18 OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
19 SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22 #ifndef TERMIO_H_INCLUDED
23 #define TERMIO_H_INCLUDED
25 #include <termios.h>
27 #define TCSBRK 1
28 #define TCSBREAK 2
29 #define TCXONC 3
30 #define TCFLSH 4
32 #define TCGETA 1
33 #define TCSETA 2
34 #define TCSETAF 3
35 #define TCSETAW 4
37 struct termio
39 tcflag_t c_iflag;
40 tcflag_t c_oflag;
41 tcflag_t c_cflag;
42 tcflag_t c_lflag;
43 tcflag_t c_cc[1];
46 #endif