summaryrefslogtreecommitdiff
path: root/uisimulator/x11/file.h
diff options
context:
space:
mode:
Diffstat (limited to 'uisimulator/x11/file.h')
-rw-r--r--uisimulator/x11/file.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/uisimulator/x11/file.h b/uisimulator/x11/file.h
index 7ea72580ad..76ddd6b8bb 100644
--- a/uisimulator/x11/file.h
+++ b/uisimulator/x11/file.h
@@ -17,8 +17,16 @@
17 * 17 *
18 ****************************************************************************/ 18 ****************************************************************************/
19 19
20#include <stdio.h>
20#include <sys/types.h> 21#include <sys/types.h>
21 22
23int x11_open(char *name, int opts);
24
22#define open(x,y) x11_open(x,y) 25#define open(x,y) x11_open(x,y)
23 26
24#include "../../firmware/common/file.h" 27#include "../../firmware/common/file.h"
28
29extern int open(char* pathname, int flags);
30extern int close(int fd);
31extern int read(int fd, void* buf, int count);
32extern int lseek(int fd, int offset, int whence);