1 # Generated by h2py from /usr/include/termios.h
3 # Included from sys/termios.h
5 # Included from sys/feature_tests.h
8 # Included from sys/ttydev.h
28 # Included from sys/types.h
30 # Included from sys/machtypes.h
32 # Included from sys/isa_defs.h
35 INT_MIN
= (-2147483647-1)
37 LONG_MIN
= (-2147483647-1)
41 # Included from sys/select.h
43 # Included from sys/time.h
69 # Included from sys/mutex.h
71 # Included from sys/dki_lkinfo.h
73 # Included from sys/dl.h
76 def MUTEX_HELD(x
): return (mutex_owned(x
))
79 # Included from time.h
81 CLOCKS_PER_SEC
= 1000000
83 # Included from sys/siginfo.h
94 # Included from sys/machsig.h
145 def CTRL(c
): return ((c
)&037)
173 CINTR
= CTRL(ord('c'))
176 CKILL
= CTRL(ord('u'))
185 CSUSP
= CTRL(ord('z'))
186 CDSUSP
= CTRL(ord('y'))
187 CRPRNT
= CTRL(ord('r'))
188 CFLUSH
= CTRL(ord('o'))
189 CWERASE
= CTRL(ord('w'))
190 CLNEXT
= CTRL(ord('v'))
255 CRTSCTS
= 020000000000
274 _TIOC
= (ord('T')<<8)
285 KBENABLED
= (_TIOC|
10)
289 TIOCGWINSZ
= (_TIOC|
104)
290 TIOCSWINSZ
= (_TIOC|
103)
291 TIOCGSOFTCAR
= (_TIOC|
105)
292 TIOCSSOFTCAR
= (_TIOC|
106)
297 TCSADRAIN
= (_TIOC|
15)
299 TCSAFLUSH
= (_TIOC|
16)
316 TIOCFLUSH
= (tIOC|
16)
319 TIOCLBIS
= (tIOC|
127)
320 TIOCLBIC
= (tIOC|
126)
321 TIOCLSET
= (tIOC|
125)
322 TIOCLGET
= (tIOC|
124)
323 TIOCSBRK
= (tIOC|
123)
324 TIOCCBRK
= (tIOC|
122)
325 TIOCSDTR
= (tIOC|
121)
326 TIOCCDTR
= (tIOC|
120)
327 TIOCSLTC
= (tIOC|
117)
328 TIOCGLTC
= (tIOC|
116)
329 TIOCOUTQ
= (tIOC|
115)
330 TIOCNOTTY
= (tIOC|
113)
331 TIOCSTOP
= (tIOC|
111)
332 TIOCSTART
= (tIOC|
110)
333 TIOCGPGRP
= (tIOC|
20)
334 TIOCSPGRP
= (tIOC|
21)
353 TIOCREMOTE
= (tIOC|
30)
354 TIOCSIGNAL
= (tIOC|
31)
355 LDIOC
= (ord('D')<<8)
369 FIORDCHK
= ((ord('f')<<8)|
3)