SDL_GetStorageFileSize - Query the size of a file within a storage container.
Contents
Availability
This function is available since SDL 3.2.0.
Function Parameters
storage
a storage container to query.
path the relative path of the file to query.
length a pointer to be filled with the file's length.
Header File
Defined in SDL3/SDL_storage.h
Name
SDL_GetStorageFileSize - Query the size of a file within a storage container.
Return Value
Returns true if the file could be queried or false on failure; call
SDL_GetError () for more information.
See Also
•(3), SDL_ReadStorageFile(3), •(3), SDL_StorageReady(3) Simple Directmedia Layer SDL 3.2.10 SDL_GetStorageFileSize(3)
Synopsis
#include"SDL3/SDL.h"boolSDL_GetStorageFileSize(SDL_Storage*storage,constchar*path,Uint64*length);
