aboutsummaryrefslogtreecommitdiff
path: root/include/std/file.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/std/file.h')
-rw-r--r--include/std/file.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/std/file.h b/include/std/file.h
index ac2abec..53d9da3 100644
--- a/include/std/file.h
+++ b/include/std/file.h
@@ -24,4 +24,6 @@ CHECK_RESULT int scan_dir_recursive(const char *dir_path, scan_dir_callback_func
CHECK_RESULT int mapped_file_init(MappedFile *self, const char *filepath, MappedFileMode file_mode);
CHECK_RESULT int mapped_file_deinit(MappedFile *self);
+CHECK_RESULT int read_whole_file(const char *filepath, char **data, usize *size);
+
#endif \ No newline at end of file