Man page - sdl_openfilestorage(3)

Packages contas this manual

Manual

SDL_OpenFileStorage(3) SDL3 FUNCTIONS SDL_OpenFileStorage(3)

SDL_OpenFileStorage - Opens up a container for local filesystem storage.

Defined in SDL3/SDL_storage.h

#include "SDL3/SDL.h"
SDL_Storage * SDL_OpenFileStorage(const char *path);

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.

the base path prepended to all storage paths, or NULL for no base path.

( SDL_Storage
*) Returns a filesystem storage container on success or NULL on failure; call SDL_GetError () for more information.

This function is available since SDL 3.2.0.

(3), SDL_CloseStorage(3), (3), SDL_GetStorageFileSize(3), (3), SDL_GetStorageSpaceRemaining(3), (3), SDL_OpenTitleStorage(3), (3), SDL_OpenUserStorage(3), (3), SDL_ReadStorageFile(3), (3), SDL_WriteStorageFile(3)

SDL 3.2.10 Simple Directmedia Layer