Skip to main content

SDL_RenameStoragePath

Function SDL_RenameStoragePath 

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

Rename a file or directory 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