Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

SDL_CopyStorageFile - Copy a file 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_CopyStorageFile - Copy a file 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_CopyStorageFile(3)

Synopsis

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

See Also