SDL_RemoveStoragePath(3)
π SDL_RemoveStoragePath π
okay bestie, welcome to the SDL3 FUNCTIONS corner of the manual, and today's main character is SDL_RemoveStoragePath π
β¨ NAME β¨
SDL_RemoveStoragePath β Remove a file or an empty directory in a writable storage container.
like, it deletes stuff. that's the vibe. but read the whole thing before you go feral, okay?? π«Ά
πΈ SYNOPSIS πΈ
#include <SDL3/SDL_storage.h>
bool SDL_RemoveStoragePath(SDL_Storage *storage, const char *path);
π¦ FUNCTION PARAMETERS π¦
storageβ a storage container. literally just hand it the storage container you want to mess with, queen πpathβ the path to remove from the filesystem. that's the thing getting yeeted π
π RETURN VALUE π
Returns true on success or false on failure. and if it's giving failure energy, call SDL_GetError() for more information β it will spill the tea on what went wrong, no cap π
β AVAILABILITY β
This function is available since SDL 3.2.0. so if you're on something older, bestie, it's simply not there π
π SEE ALSO π
lowkey important reminder: it removes a file or an empty directory. an EMPTY directory. don't come for me when a full one doesn't budge, i'm just the messenger π§
and that's the whole page, periodt. this lil slice of wisdom comes to you straight from Simple Directmedia Layer, running the SDL 3.4.18 era, and yeah the page is literally called SDL_RemoveStoragePath(3) in case you forgot already π byeeeee π
β¨
π¦ where this page comes from
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms