1 # Generated by h2py from /usr/include/termios.h
3 # Included from standards.h
5 # Included from sys/types.h
7 # Included from sys/m_types.h
14 # Included from sys/select.h
16 # Included from sys/time.h
23 TIMERID_ALRM
= (ITIMER_REAL
)
24 TIMERID_REAL
= (ITIMER_REAL
)
25 TIMERID_VIRTUAL
= (ITIMER_VIRTUAL
)
26 TIMERID_PROF
= (ITIMER_PROF
)
27 TIMERID_VIRT
= (ITIMER_VIRT
)
28 TIMERID_TOD
= (TIMERID_VIRT
+1)
29 TIMERID_REAL1
= (ITIMER_REAL1
)
34 NTIMERS
= (NALRM
+ NPROF
+ NVIRTUAL
+ NTIMEOFDAY
)
36 NTIMERS_THREAD
= (NALRM_THREAD
)
37 MIN_SECS_SINCE_EPOCH
= 0
38 uS_PER_SECOND
= (1000000)
41 MAX_NS_TO_uS
= 294967296
42 NS_PER_SEC
= 1000000000
43 uS_PER_SEC
= (NS_PER_SEC
/ 1000)
44 NS_PER_MSEC
= (NS_PER_SEC
/ 1000)
46 MAX_DEC_NS
= 147483647
55 # Included from time.h
57 CLOCKS_PER_SEC
= 1000000
60 # Included from stddef.h
66 def NFDS(x
): return ((x
) & 0x0000FFFF)
68 def LOW_HALF(x
): return NFDS(x
)
70 def NMSGS(x
): return (((x
) >> 16) & 0x0000FFFF)
72 def HIGH_HALF(x
): return NMSGS(x
)
75 def major(__x
): return (int)((unsigned
)(__x
)>>16)
77 def minor(__x
): return (int)((__x
)&0xFFFF)
80 CSMAP_DIR
= "/usr/lib/nls/csmap/"
171 DLY_MASK
= (NLDLY | CRDLY | TABDLY | BSDLY | VTDLY | FFDLY
)
204 ALTWERASE
= 0x00400000