aboutsummaryrefslogtreecommitdiff
path: root/unix/hlib/libc/alloc.h
diff options
context:
space:
mode:
authorJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
committerJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
commit40e5a5811c6ffce9b0974e93cdd927cbcf60c157 (patch)
tree4464880c571602d54f6ae114729bf62a89518057 /unix/hlib/libc/alloc.h
downloadiraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'unix/hlib/libc/alloc.h')
-rw-r--r--unix/hlib/libc/alloc.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/unix/hlib/libc/alloc.h b/unix/hlib/libc/alloc.h
new file mode 100644
index 00000000..e40ca1be
--- /dev/null
+++ b/unix/hlib/libc/alloc.h
@@ -0,0 +1,8 @@
+/* ALLOC.H -- Status returns for ZDVALL, ZDVOWN.
+ */
+#define DV_DEVFREE 1 /* device is free and can be allocated */
+#define DV_DEVALLOC 2 /* device is already allocated */
+#define DV_DEVINUSE 3 /* device is in use by someone else */
+#define DV_ERROR 9 /* software error from alloc.e */
+
+#define D_alloc