summaryrefslogtreecommitdiff
path: root/boot
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-02-14 18:09:19 +0000
committerMiles Bader <miles@gnu.org>1996-02-14 18:09:19 +0000
commit05b25741421eb109e287e69ce8b66c8d2ba75b67 (patch)
tree35eeb1525e2e17ee7af05941f4814021712e9be4 /boot
parent5607941c24e64c1dcfa30480f629c1d515ddeffc (diff)
(O_RDONLY, O_WRONLY, O_RDWR): New macros.
Diffstat (limited to 'boot')
-rw-r--r--boot/ux.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/boot/ux.h b/boot/ux.h
index e9c87ed0..d3787c54 100644
--- a/boot/ux.h
+++ b/boot/ux.h
@@ -96,6 +96,12 @@ int sigsetmask (int mask);
int sigpause (int mask);
int sigvec (int sig, struct sigvec *vec, struct sigvec *ovec);
+#undef O_RDONLY
+#undef O_WRONLY
+#undef O_RDWR
+#define O_RDONLY 0
+#define O_WRONLY 1
+#define O_RDWR 2
#define host_exit(c) uxexit(c)