diff options
author | 3gg <3gg@shellblade.net> | 2024-06-15 11:42:48 -0700 |
---|---|---|
committer | 3gg <3gg@shellblade.net> | 2024-06-15 11:42:48 -0700 |
commit | 04e3ded4c28c0b559620609daaae7b939d776b61 (patch) | |
tree | 55efea02bee351ac01ef764a04105ee9cee69259 /filesystem/include/filesystem.h | |
parent | 993424547df0d253d546dbe7adee9b2448294b08 (diff) |
Add path.
Diffstat (limited to 'filesystem/include/filesystem.h')
-rw-r--r-- | filesystem/include/filesystem.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/filesystem/include/filesystem.h b/filesystem/include/filesystem.h index 3dce87f..1c354b7 100644 --- a/filesystem/include/filesystem.h +++ b/filesystem/include/filesystem.h | |||
@@ -3,7 +3,6 @@ | |||
3 | */ | 3 | */ |
4 | #pragma once | 4 | #pragma once |
5 | 5 | ||
6 | #include <stdbool.h> | ||
7 | #include <stddef.h> | 6 | #include <stddef.h> |
8 | #include <stdio.h> | 7 | #include <stdio.h> |
9 | 8 | ||
@@ -12,8 +11,3 @@ size_t get_file_size(FILE* file); | |||
12 | 11 | ||
13 | /// Read the entire contents of the file into memory. | 12 | /// Read the entire contents of the file into memory. |
14 | void* read_file(const char* filepath); | 13 | void* read_file(const char* filepath); |
15 | |||
16 | /// Make a path relative to the parent directory of a file. | ||
17 | bool make_relative_path( | ||
18 | const char* filepath, const char* path, char* relative, | ||
19 | size_t relative_length); | ||