1/****************************************************************************
2 ****************************************************************************
3 ***
4 ***   This header was automatically generated from a Linux kernel header
5 ***   of the same name, to make information necessary for userspace to
6 ***   call into the kernel available to libc.  It contains only constants,
7 ***   structures, and macros generated from the original header, and thus,
8 ***   contains no copyrightable information.
9 ***
10 ***   To edit the content of this header, modify the corresponding
11 ***   source file (e.g. under external/kernel-headers/original/) then
12 ***   run bionic/libc/kernel/tools/update_all.py
13 ***
14 ***   Any manual change here will be lost the next time this script will
15 ***   be run. You've been warned!
16 ***
17 ****************************************************************************
18 ****************************************************************************/
19#ifndef _ASM_TERMIOS_H
20#define _ASM_TERMIOS_H
21#include <asm/termbits.h>
22#include <asm/ioctls.h>
23/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24struct sgttyb {
25 char sg_ispeed;
26 char sg_ospeed;
27 char sg_erase;
28/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29 char sg_kill;
30 int sg_flags;
31};
32struct tchars {
33/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
34 char t_intrc;
35 char t_quitc;
36 char t_startc;
37 char t_stopc;
38/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39 char t_eofc;
40 char t_brkc;
41};
42struct ltchars {
43/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44 char t_suspc;
45 char t_dsuspc;
46 char t_rprntc;
47 char t_flushc;
48/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49 char t_werasc;
50 char t_lnextc;
51};
52struct winsize {
53/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
54 unsigned short ws_row;
55 unsigned short ws_col;
56 unsigned short ws_xpixel;
57 unsigned short ws_ypixel;
58/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
59};
60#define NCC 8
61struct termio {
62 unsigned short c_iflag;
63/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
64 unsigned short c_oflag;
65 unsigned short c_cflag;
66 unsigned short c_lflag;
67 char c_line;
68/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
69 unsigned char c_cc[NCCS];
70};
71#define TIOCM_LE 0x001
72#define TIOCM_DTR 0x002
73/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
74#define TIOCM_RTS 0x004
75#define TIOCM_ST 0x010
76#define TIOCM_SR 0x020
77#define TIOCM_CTS 0x040
78/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
79#define TIOCM_CAR 0x100
80#define TIOCM_CD TIOCM_CAR
81#define TIOCM_RNG 0x200
82#define TIOCM_RI TIOCM_RNG
83/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
84#define TIOCM_DSR 0x400
85#define TIOCM_OUT1 0x2000
86#define TIOCM_OUT2 0x4000
87#define TIOCM_LOOP 0x8000
88/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
89#define N_TTY 0
90#define N_SLIP 1
91#define N_MOUSE 2
92#define N_PPP 3
93/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
94#define N_STRIP 4
95#define N_AX25 5
96#define N_X25 6
97#define N_6PACK 7
98/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
99#define N_MASC 8
100#define N_R3964 9
101#define N_PROFIBUS_FDL 10
102#define N_IRDA 11
103/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
104#define N_SMSBLOCK 12
105#define N_HDLC 13
106#define N_SYNC_PPP 14
107#define N_HCI 15
108/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
109#endif
110