OLD | NEW |
1 /* Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2013 The Chromium Authors. All rights reserved. |
2 * Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
3 * found in the LICENSE file. */ | 3 * found in the LICENSE file. */ |
4 | 4 |
5 #ifndef SYS_TERMIOS_H_ | 5 #ifndef LIBRARIES_NACL_IO_INCLUDE_SYS_TERMIOS_H_ |
6 #define SYS_TERMIOS_H_ | 6 #define LIBRARIES_NACL_IO_INCLUDE_SYS_TERMIOS_H_ |
7 | 7 |
8 #define IGNBRK 0000001 | 8 #define IGNBRK 0000001 |
9 #define BRKINT 0000002 | 9 #define BRKINT 0000002 |
10 #define IGNPAR 0000004 | 10 #define IGNPAR 0000004 |
11 #define PARMRK 0000010 | 11 #define PARMRK 0000010 |
12 #define INPCK 0000020 | 12 #define INPCK 0000020 |
13 #define ISTRIP 0000040 | 13 #define ISTRIP 0000040 |
14 #define INLCR 0000100 | 14 #define INLCR 0000100 |
15 #define IGNCR 0000200 | 15 #define IGNCR 0000200 |
16 #define ICRNL 0000400 | 16 #define ICRNL 0000400 |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 #include <sys/cdefs.h> | 119 #include <sys/cdefs.h> |
120 | 120 |
121 __BEGIN_DECLS | 121 __BEGIN_DECLS |
122 | 122 |
123 int tcflush(int fd, int queue_selector); | 123 int tcflush(int fd, int queue_selector); |
124 int tcgetattr(int fd, struct termios *termios_p); | 124 int tcgetattr(int fd, struct termios *termios_p); |
125 int tcsetattr(int fd, int optional_actions, const struct termios *termios_p); | 125 int tcsetattr(int fd, int optional_actions, const struct termios *termios_p); |
126 | 126 |
127 __END_DECLS | 127 __END_DECLS |
128 | 128 |
129 #endif /* SYS_TERMIOS_H_ */ | 129 #endif /* LIBRARIES_NACL_IO_INCLUDE_SYS_TERMIOS_H_ */ |
OLD | NEW |