summaryrefslogtreecommitdiff
path: root/core.h
diff options
context:
space:
mode:
Diffstat (limited to 'core.h')
-rw-r--r--core.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/core.h b/core.h
index 638cf3c..152d6ca 100644
--- a/core.h
+++ b/core.h
@@ -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 );