SDL_OpenFileStorage(3)

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.

Availability

This function is available since SDL 3.2.0.

From libsdl3-doc 3.2.10+ds-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.