blob: 18e5c802837039ebc2a35245c3f6b884e17c8bf0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
|
# Generated by h2py from /boot/develop/headers/posix/termios.h
# Included from be_setup.h
def __std(ref): return ref
__be_os = 2
__dest_os = __be_os
__MSL__ = 0x4011
__GLIBC__ = -2
__GLIBC_MINOR__ = 1
# Included from BeBuild.h
B_BEOS_VERSION_4 = 0x0400
B_BEOS_VERSION_4_5 = 0x0450
B_BEOS_VERSION_5 = 0x0500
B_BEOS_VERSION = B_BEOS_VERSION_5
B_BEOS_VERSION_MAUI = B_BEOS_VERSION_5
_PR2_COMPATIBLE_ = 1
_PR3_COMPATIBLE_ = 1
_R4_COMPATIBLE_ = 1
_R4_5_COMPATIBLE_ = 1
_PR2_COMPATIBLE_ = 0
_PR3_COMPATIBLE_ = 0
_R4_COMPATIBLE_ = 1
_R4_5_COMPATIBLE_ = 1
def _UNUSED(x): return x
# Included from sys/types.h
# Included from time.h
# Included from null.h
NULL = (0)
NULL = 0L
# Included from size_t.h
# Included from stddef.h
# Included from wchar_t.h
CLOCKS_PER_SEC = 1000
CLK_TCK = CLOCKS_PER_SEC
MAX_TIMESTR = 70
# Included from unistd.h
B_MOUNT_READ_ONLY = 1
R_OK = 4
W_OK = 2
X_OK = 1
F_OK = 0
STDIN_FILENO = 0
STDOUT_FILENO = 1
STDERR_FILENO = 2
_PC_CHOWN_RESTRICTED = 1
_PC_MAX_CANON = 2
_PC_MAX_INPUT = 3
_PC_NAME_MAX = 4
_PC_NO_TRUNC = 5
_PC_PATH_MAX = 6
_PC_PIPE_BUF = 7
_PC_VDISABLE = 8
_POSIX_CHOWN_RESTRICTED = 9
_POSIX_JOB_CONTROL = 10
_POSIX_NO_TRUNC = 11
_POSIX_SAVED_IDS = 12
_POSIX_VERSION = (199009L)
_SC_ARG_MAX = 15
_SC_CHILD_MAX = 16
_SC_CLK_TCK = 17
_SC_JOB_CONTROL = 18
_SC_NGROUPS_MAX = 19
_SC_OPEN_MAX = 20
_SC_SAVED_IDS = 21
_SC_STREAM_MAX = 22
_SC_TZNAME_MAX = 23
_SC_VERSION = 24
_PC_LINK_MAX = 25
SEEK_SET = 0
SEEK_CUR = 1
SEEK_END = 2
NCC = 11
NCCS = NCC
VINTR = 0
VQUIT = 1
VERASE = 2
VKILL = 3
VEOF = 4
VEOL = 5
VMIN = 4
VTIME = 5
VEOL2 = 6
VSWTCH = 7
VSTART = 8
VSTOP = 9
VSUSP = 10
IGNBRK = 0x01
BRKINT = 0x02
IGNPAR = 0x04
PARMRK = 0x08
INPCK = 0x10
ISTRIP = 0x20
INLCR = 0x40
IGNCR = 0x80
ICRNL = 0x100
IUCLC = 0x200
IXON = 0x400
IXANY = 0x800
IXOFF = 0x1000
OPOST = 0x01
OLCUC = 0x02
ONLCR = 0x04
OCRNL = 0x08
ONOCR = 0x10
ONLRET = 0x20
OFILL = 0x40
OFDEL = 0x80
NLDLY = 0x100
NL0 = 0x000
NL1 = 0x100
CRDLY = 0x600
CR0 = 0x000
CR1 = 0x200
CR2 = 0x400
CR3 = 0x600
TABDLY = 0x1800
TAB0 = 0x0000
TAB1 = 0x0800
TAB2 = 0x1000
TAB3 = 0x1800
BSDLY = 0x2000
BS0 = 0x0000
BS1 = 0x2000
VTDLY = 0x4000
VT0 = 0x0000
VT1 = 0x4000
FFDLY = 0x8000
FF0 = 0x0000
FF1 = 0x8000
CBAUD = 0x1F
B0 = 0x00
B50 = 0x01
B75 = 0x02
B110 = 0x03
B134 = 0x04
B150 = 0x05
B200 = 0x06
B300 = 0x07
B600 = 0x08
B1200 = 0x09
B1800 = 0x0A
B2400 = 0x0B
B4800 = 0x0C
B9600 = 0x0D
B19200 = 0x0E
B38400 = 0x0F
B57600 = 0x10
B115200 = 0x11
B230400 = 0x12
B31250 = 0x13
CSIZE = 0x20
CS5 = 0x00
CS6 = 0x00
CS7 = 0x00
CS8 = 0x20
CSTOPB = 0x40
CREAD = 0x80
PARENB = 0x100
PARODD = 0x200
HUPCL = 0x400
CLOCAL = 0x800
XLOBLK = 0x1000
CTSFLOW = 0x2000
RTSFLOW = 0x4000
CRTSCTS = (RTSFLOW | CTSFLOW)
ISIG = (0x01)
ICANON = (0x02)
XCASE = (0x04)
ECHO = (0x08)
ECHOE = (0x10)
ECHOK = (0x20)
ECHONL = (0x40)
NOFLSH = (0x80)
TOSTOP = (0x100)
IEXTEN = (0x200)
EV_RING = 0x0001
EV_BREAK = 0x0002
EV_CARRIER = 0x0004
EV_CARRIERLOST = 0x0008
TCGETA = (0x8000)
TCSETA = (TCGETA+1)
TCSETAF = (TCGETA+2)
TCSETAW = (TCGETA+3)
TCWAITEVENT = (TCGETA+4)
TCSBRK = (TCGETA+5)
TCFLSH = (TCGETA+6)
TCXONC = (TCGETA+7)
TCQUERYCONNECTED = (TCGETA+8)
TCGETBITS = (TCGETA+9)
TCSETDTR = (TCGETA+10)
TCSETRTS = (TCGETA+11)
TIOCGWINSZ = (TCGETA+12)
TIOCSWINSZ = (TCGETA+13)
TCVTIME = (TCGETA+14)
TCGB_CTS = 0x01
TCGB_DSR = 0x02
TCGB_RI = 0x04
TCGB_DCD = 0x08
TCSANOW = 0x01
TCSADRAIN = 0x02
TCSAFLUSH = 0x04
TCOOFF = 0x01
TCOON = 0x02
TCIOFF = 0x04
TCION = 0x08
TCIFLUSH = 0x01
TCOFLUSH = 0x02
TCIOFLUSH = (TCIFLUSH | TCOFLUSH)
|