Function SDL_RemovePath
pub unsafe extern "C" fn SDL_RemovePath(path: *const i8) -> bool
Available on crate feature
dep_sdl3
only.Expand description
Remove a file or an empty directory.
Directories that are not empty will fail; this function will not recursely delete directory trees.
§Parameters
path
: the path to remove from the filesystem.
§Return value
Returns true on success or false on failure; call SDL_GetError()
for more
information.
§Availability
This function is available since SDL 3.2.0.