Skip to main content

SDL_CopyStorageFile

Function SDL_CopyStorageFile 

Source
pub unsafe extern "C" fn SDL_CopyStorageFile(
    storage: *mut SDL_Storage,
    oldpath: *const c_char,
    newpath: *const c_char,
) -> bool
Expand description

Copy a file in a writable storage container.

Parameter: storage a storage container. Parameter: oldpath the old path. Parameter: newpath the new path. Returns: true on success or false on failure; call SDL_GetError() for more information.

Available Since: This function is available since SDL 3.2.0.

See Also: SDL_StorageReady