SDL_OpenFileStorage3
Opens up a container for local filesystem storage.
Usage
#include "SDL3/SDL.h"
SDL_Storage * SDL_OpenFileStorage(const char *path);
Header file
Defined in SDL3/SDL_storage.h
Overview
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.
Function parameters
- path
-
the base path prepended to all storage paths, or NULL for no base path.
Return value
( SDL_Storage
*) Returns a filesystem storage container on success or NULL on failure; call SDL_GetError () for more information.