summaryrefslogtreecommitdiff
path: root/src/kernel/files.h
diff options
context:
space:
mode:
authorBenji Dial <Benji3.141@gmail.com>2019-12-26 18:21:44 -0500
committerBenji Dial <Benji3.141@gmail.com>2019-12-26 18:21:44 -0500
commitc055a2f6a9778f93a8f09b6d820d2504d3fa2601 (patch)
treecdaf3f6cc2673571e67ecfde0dbf5b78c78037c2 /src/kernel/files.h
parentdc6b746faa656729de3ffc5b3ec5b087328dbd27 (diff)
downloadportland-os-c055a2f6a9778f93a8f09b6d820d2504d3fa2601.tar.gz
keyboard skeleton, skeleton, rcs, etc
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