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_RemovePath - Remove a file or an empty directory.

Availability

       This function is available since SDL 3.2.0.

Simple Directmedia Layer                           SDL 3.2.20                                  SDL_RemovePath(3)

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.

Name

       SDL_RemovePath - Remove a file or an empty directory.

Return Value

       for more information.

Synopsis

#include<SDL3/SDL_filesystem.h>boolSDL_RemovePath(constchar*path);

See Also