summaryrefslogtreecommitdiffstats
path: root/Lib/plat-linux2
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-05-09 21:15:06 (GMT)
committerFred Drake <fdrake@acm.org>2001-05-09 21:15:06 (GMT)
commit48871f2a6e8ad928c6f44c13a97b99cc384bf648 (patch)
treef7662673e9fd8ce24133a32841c9ff1198ec3d80 /Lib/plat-linux2
parent76d61399614604504f0bb1bf149d0f1158593524 (diff)
downloadcpython-48871f2a6e8ad928c6f44c13a97b99cc384bf648.zip
cpython-48871f2a6e8ad928c6f44c13a97b99cc384bf648.tar.gz
cpython-48871f2a6e8ad928c6f44c13a97b99cc384bf648.tar.bz2
Remove the old platform-specific FCNTL.py modules; these are no longer
needed now that fcntl exports the constants.
Diffstat (limited to 'Lib/plat-linux2')
-rw-r--r--Lib/plat-linux2/FCNTL.py108
1 files changed, 0 insertions, 108 deletions
diff --git a/Lib/plat-linux2/FCNTL.py b/Lib/plat-linux2/FCNTL.py
deleted file mode 100644
index 0058aba..0000000
--- a/Lib/plat-linux2/FCNTL.py
+++ /dev/null
@@ -1,108 +0,0 @@
-# Generated by h2py from /usr/include/sys/fcntl.h
-
-# Included from fcntl.h
-
-# Included from features.h
-_FEATURES_H = 1
-_GNU_SOURCE = 1
-__USE_ANSI = 1
-__FAVOR_BSD = 1
-_BSD_SOURCE = 1
-_SVID_SOURCE = 1
-_POSIX_SOURCE = 1
-_POSIX_C_SOURCE = 2
-__USE_POSIX = 1
-__USE_POSIX2 = 1
-__USE_MISC = 1
-__USE_BSD = 1
-__USE_SVID = 1
-__USE_GNU = 1
-__GNU_LIBRARY__ = 1
-
-# 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"
-
-
-# Included from sys/types.h
-
-# 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(fdsetp): return \
-
-
-# Included from asm/types.h
-
-# Included from sys/bitypes.h
-
-# Included from gnu/types.h
-_GNU_TYPES_H = 1
-__FDSET_LONGS = 8
-def __FD_ZERO(fdsetp): return \
-
-__FD_SETSIZE = 256
-def __FDELT(d): return ((d) / __NFDBITS)
-
-def __FDMASK(d): return (1 << ((d) % __NFDBITS))
-
-def __FD_ZERO(set): return \
-
-
-# Included from linux/fcntl.h
-
-# Included from asm/fcntl.h
-O_ACCMODE = 0003
-O_RDONLY = 00
-O_WRONLY = 01
-O_RDWR = 02
-O_CREAT = 0100
-O_EXCL = 0200
-O_NOCTTY = 0400
-O_TRUNC = 01000
-O_APPEND = 02000
-O_NONBLOCK = 04000
-O_NDELAY = O_NONBLOCK
-O_SYNC = 010000
-FASYNC = 020000
-F_DUPFD = 0
-F_GETFD = 1
-F_SETFD = 2
-F_GETFL = 3
-F_SETFL = 4
-F_GETLK = 5
-F_SETLK = 6
-F_SETLKW = 7
-F_SETOWN = 8
-F_GETOWN = 9
-FD_CLOEXEC = 1
-F_RDLCK = 0
-F_WRLCK = 1
-F_UNLCK = 2
-F_EXLCK = 4
-F_SHLCK = 8
-LOCK_SH = 1
-LOCK_EX = 2
-LOCK_NB = 4
-LOCK_UN = 8
-F_POSIX = 1
-F_FLOCK = 2
-F_BROKEN = 4
-FNDELAY = O_NDELAY
-F_ULOCK = 0
-F_LOCK = 1
-F_TLOCK = 2
-F_TEST = 3