diff options
| author | Aldrik Ramaekers <aldrik.ramaekers@protonmail.com> | 2020-02-11 15:02:55 +0100 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrik.ramaekers@protonmail.com> | 2020-02-11 15:02:55 +0100 |
| commit | dd286e9f696ebd631af45bca82ca458aafd21728 (patch) | |
| tree | 18b8a8a101bce4864f2ef0f84d46881c11d1dd36 /src/linux/platform.c | |
| parent | 807d87681c5eca52fee692321ae0279324204cc6 (diff) | |
platform work
Diffstat (limited to 'src/linux/platform.c')
| -rw-r--r-- | src/linux/platform.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/linux/platform.c b/src/linux/platform.c index 855564b..2019f79 100644 --- a/src/linux/platform.c +++ b/src/linux/platform.c @@ -184,6 +184,12 @@ bool set_active_directory(char *path) return !chdir(path); } + +void platform_delete_file(char *path) +{ + remove(path); +} + bool platform_write_file_content(char *path, const char *mode, char *buffer, s32 len) { bool result = false; |
