summaryrefslogtreecommitdiff
path: root/firmware/common/file.h
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2002-05-02 11:04:30 +0000
committerBjörn Stenberg <bjorn@haxx.se>2002-05-02 11:04:30 +0000
commita98b20e22a63094cd590298f7f6f3c6c1a42fe83 (patch)
treebe44218ee6ebe017d0c0924357cca8d1e6146a70 /firmware/common/file.h
parent8488530f0f5a15c21d9ceb1fd88de456623a1e3a (diff)
Added flags
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@378 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/common/file.h')
-rw-r--r--firmware/common/file.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/common/file.h b/firmware/common/file.h
index 02f853250b..3233b40e87 100644
--- a/firmware/common/file.h
+++ b/firmware/common/file.h
@@ -24,6 +24,10 @@
#define SEEK_CUR 1
#define SEEK_END 2
+#define O_RDONLY 0
+#define O_WRONLY 1
+#define O_RDWR 2
+
#ifndef SIMULATOR
extern int open(char* pathname, int flags);
extern int close(int fd);