aboutsummaryrefslogtreecommitdiffstats
path: root/c/gbos.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--c/gbos.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/c/gbos.h b/c/gbos.h
index c93414f..2a99c0e 100644
--- a/c/gbos.h
+++ b/c/gbos.h
@@ -34,6 +34,7 @@ void poweroff(void); /* clean emulator shutdown (saves) */
#define O_READ 0
#define O_WRITE 1
#define NOFD 0xFF
+#define EISDIR 0xFE /* open() failed: path is a directory */
/* process control (c/libc.s) */
unsigned char fork(void);