logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_OpenFileStorage - Opens up a container for local filesystem storage.

Availability

       This function is available since SDL 3.2.0.

Description

       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.

Name

       SDL_OpenFileStorage - Opens up a container for local filesystem storage.

Return Value

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

See Also

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

Simple Directmedia Layer                           SDL 3.2.20                             SDL_OpenFileStorage(3)

Synopsis

#include<SDL3/SDL_storage.h>SDL_Storage*SDL_OpenFileStorage(constchar*path);

See Also