cpython/Lib/plat-beos5/TERMIOS.py
Fred Drake 613f7c4092 Donn Cave <donn@oz.net>:
Generated files for BeOS R5.
2000-10-07 12:25:17 +00:00

218 lines
3.4 KiB
Python

# 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)