# Generated by h2py from f:/emx/include/fcntl.h

# Included from sys/fcntl.h
O_ACCMODE = 0x03
O_RDONLY = 0x00
O_WRONLY = 0x01
O_RDWR = 0x02
O_NONBLOCK = 0x04
O_APPEND = 0x08
O_TEXT = 0x10
O_BINARY = 0x0100
O_CREAT = 0x0200
O_TRUNC = 0x0400
O_EXCL = 0x0800
O_SYNC = 0x2000
O_NOCTTY = 0x4000
O_SIZE = 0x8000
O_NDELAY = O_NONBLOCK
O_NOINHERIT = 0x1000
F_OK = 0
X_OK = 1
W_OK = 2
R_OK = 4
F_GETFL = 1
F_SETFL = 2
F_GETFD = 3
F_SETFD = 4
F_DUPFD = 5
F_GETOSFD = 6
FD_CLOEXEC = 0x01
LOCK_SH = 0x01
LOCK_EX = 0x02
LOCK_NB = 0x04
LOCK_UN = 0x08
