aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2019-02-28 00:02:41 +0100
committerdec05eba <dec05eba@protonmail.com>2020-07-25 14:36:46 +0200
commitcff67f93caeb3f98261860904dd232f6b551299e (patch)
tree94715ee98cc0ea62ea60da96b8b2d3a595b5276e /include
parent0ed62b9337c64a91481afd91f9e5706a36eca7b5 (diff)
fix crashes
Diffstat (limited to 'include')
-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