diff options
Diffstat (limited to 'src/base/system.h')
| -rw-r--r-- | src/base/system.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/base/system.h b/src/base/system.h index c863a33f..39e7c994 100644 --- a/src/base/system.h +++ b/src/base/system.h @@ -996,6 +996,21 @@ int fs_chdir(const char *path); int fs_parent_dir(char *path); /* + Function: fs_remove + Deletes the file with the specified name. + + Parameters: + filename - The file to delete + + Returns: + Returns 0 on success, 1 on failure. + + Remarks: + - The strings are treated as zero-terminated strings. +*/ +int fs_remove(const char *filename); + +/* Function: fs_rename Renames the file or directory. If the paths differ the file will be moved. |