Remove a file or an empty directory.
Defined in <SDL3/SDL_filesystem.h>
bool SDL_RemovePath(const char *path);
const char * | path | the path to remove from the filesystem. |
(bool) Returns true on success or false on failure; call SDL_GetError() for more information.
Directories that are not empty will fail; this function will not recursely delete directory trees.
This function is available since SDL 3.1.3.