From e98bad5b386d58a6add0b7db31ea7090cb791b55 Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Tue, 18 Mar 2003 00:39:57 +0000 Subject: Added the filesize() function git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3473 a1c6a512-1295-4272-9138-f99709370657 --- uisimulator/x11/file.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'uisimulator/x11/file.h') 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 @@ int x11_open(char *name, int opts); int x11_close(int fd); +int x11_filesize(int fd); int x11_creat(char *name, int mode); int x11_remove(char *name); int x11_rename(char *oldpath, char *newpath); #define open(x,y) x11_open(x,y) #define close(x) x11_close(x) +#define filesize(x) x11_filesize(x) #define creat(x,y) x11_creat(x,y) #define remove(x) x11_remove(x) #define rename(x,y) x11_rename(x,y) -- cgit v1.2.3