# Generated by h2py from /usr/include/fcntl.h
_FCNTL_H = 1

# Included from features.h
_FEATURES_H = 1
__USE_ANSI = 1
__FAVOR_BSD = 1
_POSIX_SOURCE = 1
_POSIX_C_SOURCE = 2
_XOPEN_SOURCE = 1
_XOPEN_SOURCE_EXTENDED = 1
_BSD_SOURCE = 1
_SVID_SOURCE = 1
_BSD_SOURCE = 1
_SVID_SOURCE = 1
_POSIX_SOURCE = 1
_POSIX_C_SOURCE = 2
__USE_POSIX = 1
__USE_POSIX2 = 1
__USE_XOPEN = 1
__USE_XOPEN_EXTENDED = 1
__USE_MISC = 1
__USE_BSD = 1
__USE_SVID = 1
__USE_GNU = 1
__USE_REENTRANT = 1
__GNU_LIBRARY__ = 6
__GLIBC__ = 2
__GLIBC_MINOR__ = 0

# Included from sys/cdefs.h
_SYS_CDEFS_H = 1
def __P(args): return args	 

def __P(args): return args

def __P(args): return ()	 

def __STRING(x): return #x

def __STRING(x): return "x"

def __attribute__(xyz): return  


# Included from stubs.h

# Included from fcntlbits.h
_FCNTLBITS_H = 1

# Included from sys/types.h
_SYS_TYPES_H = 1

# Included from gnu/types.h
_GNU_TYPES_H = 1

# Included from linux/types.h

# Included from linux/posix_types.h
__FD_SETSIZE = 1024
def __FDELT(d): return ((d) / __NFDBITS)


# Included from asm/posix_types.h
def __FD_ZERO(set): return \


# Included from asm/types.h

# Included from time.h
_TIME_H = 1

# Included from timebits.h
_STRUCT_TIMEVAL = 1
_TIMEBITS_H = 1

# Included from asm/param.h
HZ = 1024
EXEC_PAGESIZE = 8192
NGROUPS = 32
NOGROUP = (-1)
MAXHOSTNAMELEN = 64
CLOCKS_PER_SEC = HZ
CLK_TCK = CLOCKS_PER_SEC
__clock_t_defined = 1
__time_t_defined = 1
__timespec_defined = 1
def __isleap(year): return \

__BIT_TYPES_DEFINED__ = 1

# Included from endian.h
_ENDIAN_H = 1
__LITTLE_ENDIAN = 1234
__BIG_ENDIAN = 4321
__PDP_ENDIAN = 3412

# Included from bytesex.h
__BYTE_ORDER = __LITTLE_ENDIAN
LITTLE_ENDIAN = __LITTLE_ENDIAN
BIG_ENDIAN = __BIG_ENDIAN
PDP_ENDIAN = __PDP_ENDIAN
BYTE_ORDER = __BYTE_ORDER

# Included from sys/select.h
_SYS_SELECT_H = 1
FD_SETSIZE = __FD_SETSIZE
def FD_ZERO(fdsetp): return __FD_ZERO (fdsetp)


# Included from linux/fcntl.h

# Included from asm/fcntl.h
O_ACCMODE = 0003
O_RDONLY = 00
O_WRONLY = 01
O_RDWR = 02
O_CREAT = 01000
O_TRUNC = 02000
O_EXCL = 04000
O_NOCTTY = 010000
O_NONBLOCK = 00004
O_APPEND = 00010
O_NDELAY = O_NONBLOCK
O_SYNC = 040000
FASYNC = 020000
F_DUPFD = 0
F_GETFD = 1
F_SETFD = 2
F_GETFL = 3
F_SETFL = 4
F_GETLK = 7
F_SETLK = 8
F_SETLKW = 9
F_SETOWN = 5
F_GETOWN = 6
FD_CLOEXEC = 1
F_RDLCK = 1
F_WRLCK = 2
F_UNLCK = 8
F_EXLCK = 16
F_SHLCK = 32
LOCK_SH = 1
LOCK_EX = 2
LOCK_NB = 4
LOCK_UN = 8
F_POSIX = 1
F_FLOCK = 2
F_BROKEN = 4
FAPPEND = O_APPEND
FNONBLOCK = O_NONBLOCK
FNDELAY = O_NDELAY
R_OK = 4
W_OK = 2
X_OK = 1
F_OK = 0
F_ULOCK = 0
F_LOCK = 1
F_TLOCK = 2
F_TEST = 3
