logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_RenameStoragePath - Rename a file or directory in a writable storage container.

Availability

       This function is available since SDL 3.2.0.

Function Parameters

storage
              a storage container.

       oldpath
              the old path.

       newpath
              the new path.

Header File

       Defined in SDL3/SDL_storage.h

Name

       SDL_RenameStoragePath - Rename a file or directory in a writable storage container.

Return Value

       Returns true on success or false on failure; call

       SDL_GetError () for more information.

See Also

(3), SDL_StorageReady(3)

Simple Directmedia Layer                           SDL 3.2.10                           SDL_RenameStoragePath(3)

Synopsis

#include"SDL3/SDL.h"boolSDL_RenameStoragePath(SDL_Storage*storage,constchar*oldpath,constchar*newpath);

See Also