SDL_GetPathInfo

Get information about a filesystem path.

extern (C) nothrow @nogc extern
bool
SDL_GetPathInfo
(
const(char)* path
,)

Parameters

path const(char)*

the path to query.

info SDL_PathInfo*

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

Return Value

Type: bool

true on success or false if the file doesn't exist, or another failure; call SDL_GetError() for more information.

Meta