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.

§Parameters

  • storage: a storage container.
  • oldpath: the old path.
  • newpath: the new path.

§Return value

Returns true on success or false on failure; call SDL_GetError() for more information.

§Availability

This function is available since SDL 3.2.0.

§See also