SDL_RemovePath - Man Page

Remove a file or an empty directory.

Synopsis

#include <SDL3/SDL_filesystem.h>

bool SDL_RemovePath(const char *path);

Description

Directories that are not empty will fail; this function will not recursely delete directory trees.

Function Parameters

path

the path to remove from the filesystem.

Return Value

for more information.

Availability

This function is available since SDL 3.2.0.

Info

SDL 3.2.16 Simple Directmedia Layer SDL3 FUNCTIONS