SDL_GetStoragePathInfo(3)

SDL_GetStoragePathInfo3

Get information about a filesystem path in a storage container.

Usage

#include "SDL3/SDL.h"

bool SDL_GetStoragePathInfo(SDL_Storage *storage, const char *path, SDL_PathInfo *info);

Header file

Defined in SDL3/SDL_storage.h

Function parameters

storage

a storage container.

path

the path to query.

info

a pointer filled in with information about the path, or NULL to check for the existence of a file.

Return value

Returns true on success or false if the file doesn't exist, or another 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.