diff options
Diffstat (limited to 'src/base/system.h')
| -rw-r--r-- | src/base/system.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/base/system.h b/src/base/system.h index 9a556341..fdbfe72d 100644 --- a/src/base/system.h +++ b/src/base/system.h @@ -824,6 +824,23 @@ int fs_makedir(const char *path); */ int fs_storage_path(const char *appname, char *path, int max); +/* + Function: fs_is_dir + Checks if directory exists + + Returns: + Returns 1 on success, 0 on failure. +*/ +int fs_is_dir(const char *path); + +/* + Function: fs_chdir + Changes current working directory + + Returns: + Returns 0 on success, 1 on failure. +*/ +int fs_chdir(const char *path); /* Group: Undocumented |