summaryrefslogtreecommitdiffstats
path: root/Lib/sunos5/FCNTL.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1994-10-09 23:03:12 (GMT)
committerGuido van Rossum <guido@python.org>1994-10-09 23:03:12 (GMT)
commite5e73b96e1c6e09c95bcdb07681b576785df83e8 (patch)
tree988e4ccd17362ee9419a5cb832b6b0a52c50a06c /Lib/sunos5/FCNTL.py
parent29c1b97d28679224971a9550d40118e8f48989b0 (diff)
downloadcpython-e5e73b96e1c6e09c95bcdb07681b576785df83e8.zip
cpython-e5e73b96e1c6e09c95bcdb07681b576785df83e8.tar.gz
cpython-e5e73b96e1c6e09c95bcdb07681b576785df83e8.tar.bz2
initial commit
Diffstat (limited to 'Lib/sunos5/FCNTL.py')
-rwxr-xr-xLib/sunos5/FCNTL.py47
1 files changed, 47 insertions, 0 deletions
diff --git a/Lib/sunos5/FCNTL.py b/Lib/sunos5/FCNTL.py
new file mode 100755
index 0000000..89ce2ed
--- /dev/null
+++ b/Lib/sunos5/FCNTL.py
@@ -0,0 +1,47 @@
+# Generated by h2py from /usr/include/sys/fcntl.h
+O_RDONLY = 0
+O_WRONLY = 1
+O_RDWR = 2
+O_NDELAY = 0x04
+O_APPEND = 0x08
+O_SYNC = 0x10
+O_DSYNC = 0x40
+O_RSYNC = 0x8000
+O_NONBLOCK = 0x80
+O_PRIV = 0x1000
+O_CREAT = 0x100
+O_TRUNC = 0x200
+O_EXCL = 0x400
+O_NOCTTY = 0x800
+F_DUPFD = 0
+F_GETFD = 1
+F_SETFD = 2
+F_GETFL = 3
+F_SETFL = 4
+F_SETLK = 6
+F_SETLKW = 7
+F_O_GETLK = 5
+F_SETLK = 6
+F_SETLKW = 7
+F_CHKFL = 8
+F_ALLOCSP = 10
+F_FREESP = 11
+F_ISSTREAM = 13
+F_GETLK = 14
+F_PRIV = 15
+F_NPRIV = 16
+F_QUOTACTL = 17
+F_BLOCKS = 18
+F_BLKSIZE = 19
+F_RSETLK = 20
+F_RGETLK = 21
+F_RSETLKW = 22
+F_GETOWN = 23
+F_SETOWN = 24
+F_REVOKE = 25
+F_RDLCK = 01
+F_WRLCK = 02
+F_UNLCK = 03
+F_UNLKSYS = 04
+O_ACCMODE = 3
+FD_CLOEXEC = 1