pub unsafe extern "C" fn SDL_WriteStorageFile(
storage: *mut SDL_Storage,
path: *const c_char,
source: *const c_void,
length: Uint64,
) -> boolExpand description
Synchronously write a file from client memory into a storage container.
§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.
§Return value
Returns true if the file was written or false on failure; call
SDL_GetError() for more information.
§Availability
This function is available since SDL 3.2.0.