SDL_RenameStoragePath - Man Page

Rename a file or directory in a writable storage container.

Header File

Defined in SDL3/SDL_storage.h

Synopsis

#include "SDL3/SDL.h"

bool SDL_RenameStoragePath(SDL_Storage *storage, const char *oldpath, const char *newpath);

Function 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

·(3), SDL_StorageReady(3)

Info

SDL 3.2.2 Simple Directmedia Layer SDL3 FUNCTIONS