From c055a2f6a9778f93a8f09b6d820d2504d3fa2601 Mon Sep 17 00:00:00 2001 From: Benji Dial Date: Thu, 26 Dec 2019 18:21:44 -0500 Subject: keyboard skeleton, skeleton, rcs, etc --- src/kernel/files.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/kernel/files.h') 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 -- cgit v1.2.3