diff options
Diffstat (limited to 'fs/file.h')
| -rw-r--r-- | fs/file.h | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -5,14 +5,12 @@ typedef struct { + int(* seek)(int offset, int whence); - void(* tell)(); - void(* seek)(int offset, int whence); + int(* read)(char *buf, int len); + int(* wrtie)(char *buf, int len); - void(* read)(char *buf, int len); - void(* wrtie)(char *buf, int len); - - void(* close)(); + int(* close)(); int(* stat)(struct stat *buf); void *data; //opaque |
