Skip to content

cf_fs_get_base_directory

Category: file
GitHub: cute_file_system.h


Returns the path of the base directory.

const char* cf_fs_get_base_directory(void);

Remarks

This is not a virtual path, but the actual OS-path where the executable was run from. This might not be the working directory, but probably is. You should probably mount the base directory with cf_fs_mount. See Virtual File System for an overview.

cf_fs_get_working_directory
cf_fs_set_write_directory
cf_fs_get_user_directory
cf_fs_mount
cf_fs_dismount