summaryrefslogtreecommitdiff
path: root/uisimulator
diff options
context:
space:
mode:
Diffstat (limited to 'uisimulator')
-rw-r--r--uisimulator/x11/file.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/uisimulator/x11/file.h b/uisimulator/x11/file.h
index 12fffe05f6..ff8d4af451 100644
--- a/uisimulator/x11/file.h
+++ b/uisimulator/x11/file.h
@@ -17,6 +17,9 @@
17 * 17 *
18 ****************************************************************************/ 18 ****************************************************************************/
19 19
20#ifndef ROCKBOX_FILE_H
21#define ROCKBOX_FILE_H
22
20#include <stdio.h> 23#include <stdio.h>
21#include <sys/types.h> 24#include <sys/types.h>
22 25
@@ -36,7 +39,9 @@ int x11_rename(char *oldpath, char *newpath);
36 39
37extern int open(char* pathname, int flags); 40extern int open(char* pathname, int flags);
38extern int close(int fd); 41extern int close(int fd);
39extern int read(int fd, void* buf, int count);
40extern int write(int fd, void* buf, int count);
41extern int lseek(int fd, int offset, int whence);
42extern int printf(const char *format, ...); 42extern int printf(const char *format, ...);
43
44off_t lseek(int fildes, off_t offset, int whence);
45ssize_t read(int fd, void *buf, size_t count);
46
47#endif