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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/uisimulator/x11/file.h b/uisimulator/x11/file.h
index cf77eea4ba..f11f5056c9 100644
--- a/uisimulator/x11/file.h
+++ b/uisimulator/x11/file.h
@@ -25,12 +25,14 @@
25 25
26int x11_open(char *name, int opts); 26int x11_open(char *name, int opts);
27int x11_close(int fd); 27int x11_close(int fd);
28int x11_filesize(int fd);
28int x11_creat(char *name, int mode); 29int x11_creat(char *name, int mode);
29int x11_remove(char *name); 30int x11_remove(char *name);
30int x11_rename(char *oldpath, char *newpath); 31int x11_rename(char *oldpath, char *newpath);
31 32
32#define open(x,y) x11_open(x,y) 33#define open(x,y) x11_open(x,y)
33#define close(x) x11_close(x) 34#define close(x) x11_close(x)
35#define filesize(x) x11_filesize(x)
34#define creat(x,y) x11_creat(x,y) 36#define creat(x,y) x11_creat(x,y)
35#define remove(x) x11_remove(x) 37#define remove(x) x11_remove(x)
36#define rename(x,y) x11_rename(x,y) 38#define rename(x,y) x11_rename(x,y)