Function SDL_OpenFileStorage
pub unsafe extern "C" fn SDL_OpenFileStorage(
path: *const i8,
) -> *mut SDL_Storage
Available on crate feature
dep_sdl3
only.Expand description
Opens up a container for local filesystem storage.
This is provided for development and tools. Portable applications should
use SDL_OpenTitleStorage()
for access to game data and
SDL_OpenUserStorage()
for access to user data.
§Parameters
path
: the base path prepended to all storage paths, or NULL for no base path.
§Return value
Returns a filesystem storage container on success or NULL on failure; call
SDL_GetError()
for more information.
§Availability
This function is available since SDL 3.2.0.