logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_WriteStorageFile - Synchronously write a file from client memory into a storage container.

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);

See Also