Skip to main content

SDL_RemovePath

Function SDL_RemovePath 

Source
pub unsafe extern "C" fn SDL_RemovePath(path: *const c_char) -> bool
Expand description

Remove a file or an empty directory.

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

Parameter: path the path to remove from the filesystem. Returns: true on success or false on failure; call SDL_GetError() for more information.

Thread Safety: It is safe to call this function from any thread.

Available Since: This function is available since SDL 3.2.0.