SDL_WriteStorageFile - Synchronously write a file from client memory into a storage container.
Contents
Availability
This function is available since SDL 3.2.0.
Function Parameters
storage
a storage container to write to.
path the relative path of the file to write.
source a client-provided buffer to write from.
length the length of the source buffer.
Name
SDL_WriteStorageFile - Synchronously write a file from client memory into a storage container.
Return Value
for more information.
See Also
SDL_GetStorageSpaceRemaining(3), SDL_ReadStorageFile(3), SDL_StorageReady(3) Simple Directmedia Layer SDL 3.2.20 SDL_WriteStorageFile(3)
Synopsis
#include<SDL3/SDL_storage.h>boolSDL_WriteStorageFile(SDL_Storage*storage,constchar*path,constvoid*source,Uint64length);
