added a file open funtion

This commit is contained in:
Jay Sorg
2012-10-13 22:48:05 -07:00
parent c1dfea1613
commit e07dd5afb5
2 changed files with 41 additions and 0 deletions
+3
View File
@@ -133,6 +133,9 @@ g_memcmp(const void* s1, const void* s2, int len);
int APP_CC
g_file_open(const char* file_name);
int APP_CC
g_file_open_ex(const char *file_name, int aread, int awrite,
int acreate, int atrunc);
int APP_CC
g_file_close(int fd);
int APP_CC
g_file_read(int fd, char* ptr, int len);