SDL_GetStorageSpaceRemaining(3)

πŸ’Ύ SDL_GetStorageSpaceRemaining πŸ’Ύ

okay bestie, welcome to the SDL3 FUNCTIONS section of the manual, page three, we're doing storage math today πŸŽ€


✨ NAME ✨

SDL_GetStorageSpaceRemaining β€” the girl whose whole job is checking how much room is left in a storage container 🫢

like. she peeks inside and tells you the leftover space. that's it. that's the function. iconic behavior honestly πŸ’…


🌸 SYNOPSIS 🌸

#include <SDL3/SDL_storage.h>

Uint64 SDL_GetStorageSpaceRemaining(SDL_Storage *storage);

πŸ¦‹ FUNCTION PARAMETERS πŸ¦‹

  • storage β€” the storage container you wanna interrogate. hand her over and she'll tell you what's up πŸ’œ

⭐ RETURN VALUE ⭐

She hands you back the amount of remaining space, measured in bytes. no cap, just a Uint64 full of truth πŸ“βœ¨


πŸŽ€ AVAILABILITY πŸŽ€

This function is available since SDL 3.2.0. so if you're on something older... girl. upgrade. 😭


πŸ‘‘ SEE ALSO πŸ‘‘


πŸ’‘ little vibe check: those two are your besties for this one. check the storage is ready, then go write to it. the squad works together fr fr 🫢

and that's the whole page, no notes, we ate πŸ’…

this has been a Simple Directmedia Layer production, brought to you by SDL 3.4.18 β€” catch you on SDL_GetStorageSpaceRemaining(3) again real soon, mwah πŸ˜˜πŸ’–

πŸ“¦ where this page comes from