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
13 # Included from sys/select.h
15 # Included from sys/time.h
21 TIMERID_ALRM
= (ITIMER_REAL
)
22 TIMERID_REAL
= (ITIMER_REAL
)
23 TIMERID_VIRTUAL
= (ITIMER_VIRTUAL
)
24 TIMERID_PROF
= (ITIMER_PROF
)
25 TIMERID_VIRT
= (ITIMER_VIRT
)
26 TIMERID_TOD
= (TIMERID_VIRT
+1)
31 NTIMERS
= (NALRM
+ NPROF
+ NVIRTUAL
+ NTIMEOFDAY
)
32 MIN_SECS_SINCE_EPOCH
= 0
33 uS_PER_SECOND
= (1000000)
36 MAX_NS_TO_uS
= 294967296
37 NS_PER_SEC
= 1000000000
38 uS_PER_SEC
= (NS_PER_SEC
/ 1000)
39 NS_PER_MSEC
= (NS_PER_SEC
/ 1000)
41 MAX_DEC_NS
= 147483647
50 # Included from time.h
52 # Included from stddef.h
53 CLOCKS_PER_SEC
= 1000000
59 def NFDS(x
): return ((x
) & 0x0000FFFF)
61 def LOW_HALF(x
): return NFDS(x
)
63 def NMSGS(x
): return (((x
) >> 16) & 0x0000FFFF)
65 def HIGH_HALF(x
): return NMSGS(x
)
68 def major(__x
): return (int)((unsigned
)(__x
)>>16)
70 def minor(__x
): return (int)((__x
)&0xFFFF)
163 DLY_MASK
= (NLDLY | CRDLY | TABDLY | BSDLY | VTDLY | FFDLY
)