summaryrefslogtreecommitdiffstats
path: root/Mac/errno_unix.h
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1994-12-14 14:04:55 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1994-12-14 14:04:55 (GMT)
commit34e7cae6634d89fbf160e1e8249c56012914bfe6 (patch)
tree080380879ced3cc09845594009a8d6f92d84d82b /Mac/errno_unix.h
parent97ce361c2cf6bf57dc74b36ffd0d04c846101cc0 (diff)
downloadcpython-34e7cae6634d89fbf160e1e8249c56012914bfe6.zip
cpython-34e7cae6634d89fbf160e1e8249c56012914bfe6.tar.gz
cpython-34e7cae6634d89fbf160e1e8249c56012914bfe6.tar.bz2
Unix functionality expected by python but missing from CodeWarrior
runtime system.
Diffstat (limited to 'Mac/errno_unix.h')
-rw-r--r--Mac/errno_unix.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/Mac/errno_unix.h b/Mac/errno_unix.h
new file mode 100644
index 0000000..00fbe5a
--- /dev/null
+++ b/Mac/errno_unix.h
@@ -0,0 +1,18 @@
+
+#define ENOTDIR (-120)
+#define EACCES (-54)
+#define EEXIST (-48)
+#define EBUSY (-47)
+#define EROFS (-44)
+#define ENOENT (-43)
+#define ENFILE (-42)
+#define EIO (-36)
+#define ENOSPC (-34)
+
+#define ESRCH 3
+#define EINTR 4
+#define EBADF 9
+#define ENODEV 19
+#define EINVAL 22
+#define EMFILE 24
+