diff options
Diffstat (limited to 'core.h')
-rw-r--r-- | core.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -98,9 +98,9 @@ typedef struct file_t file_t *file_init(); int file_open_fn( file_t *ft, const char *filename, int mode ); int file_open( file_t *ft, const char *filename, int flags, int mode ); -int file_read_blk( file_t *ft, uint8_t *buf ); +int file_read_blk( file_t *ft, uint8_t *buf, int sz ); int file_read( file_t *ft, uint8_t *buf, size_t count ); -int file_write_blk( file_t *ft, uint8_t *buf ); +int file_write_blk( file_t *ft, uint8_t *buf, int sz ); int file_write( file_t *ft, uint8_t *buf, size_t count ); int file_seek( file_t *ft, off_t offset ); //seek by offset int file_seekp( file_t *ft, off_t offset ); |