SDL_CreateStorageDirectory(3)
π SDL_CreateStorageDirectory(3) π
okay bestie, welcome to the SDL3 FUNCTIONS corner of the manual, and today's main character is SDL_CreateStorageDirectory β she makes a directory in a writable storage container. that's it. that's the job. and she does it flawlessly. π
β¨ NAME β¨
SDL_CreateStorageDirectory β make a directory inside a writable storage container π
β¨ SYNOPSIS β¨
#include <SDL3/SDL_storage.h>
bool SDL_CreateStorageDirectory(SDL_Storage *storage, const char *path);
like, look at her. two params. returns a bool. clean. iconic. no notes. π¦
β¨ FUNCTION PARAMETERS β¨
storageβ a storage container. the vibes-holder. the place where the directory is gonna live π«Άpathβ the path of the directory to create. yes queen, tell her where πΊοΈ
β¨ RETURN VALUE β¨
returns true on success, or false on failure π and if it's a fail, pls call SDL_GetError() for more info β she will absolutely tell you what went wrong, no cap.
β¨ AVAILABILITY β¨
this one has been around since SDL 3.2.0 β so if you're on anything olderβ¦ bestie. upgrade. respectfully. π
β¨ SEE ALSO β¨
SDL_StorageReady(3)β go read her too, she's part of the lore π
and that's the whole page, fr fr. this beauty lives in the Simple Directmedia Layer collection, version SDL 3.4.18 β shoutout to the SDL girlies keeping the ecosystem fed, mwah πβ¨ bye bestie, go create some directories π
π¦ 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