summaryrefslogtreecommitdiff
path: root/src/kernel/files.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/files.h')
-rw-r--r--src/kernel/files.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/kernel/files.h b/src/kernel/files.h
index f7665dc..d9102ab 100644
--- a/src/kernel/files.h
+++ b/src/kernel/files.h
@@ -32,9 +32,10 @@ struct file_info {
struct file_info file_table[65536];
uint16_t open_file(uint8_t *name);
void close_file(uint16_t handle);
-void read_file(uint16_t handle, uint32_t length, void *buffer);
+uint32_t read_file(uint16_t handle, uint32_t length, void *buffer);
void write_file(uint16_t handle, uint32_t length, void *buffer);
void seek_file(uint16_t handle, int32_t by);
uint32_t get_size(uint16_t handle);
+uint32_t read_line_file(uint16_t handle, uint32_t max, void *buffer);
#endif \ No newline at end of file