SDL_GetAsyncIOSize(3)
β¨ SDL_GetAsyncIOSize β¨
okay bestie, welcome to the SDL3 FUNCTIONS corner of the manual, where today's main character is SDL_GetAsyncIOSize π
πΈ NAME πΈ
SDL_GetAsyncIOSize β the lil function you call to get the size of the data stream in an SDL_AsyncIO. that's it, that's the job π
π¦ SYNOPSIS π¦
#include <SDL3/SDL_asyncio.h>
Sint64 SDL_GetAsyncIOSize(SDL_AsyncIO *asyncio);
π DESCRIPTION π
so here's the tea β: this call is _not_ asynchronous. like, at all. it just assumes that getting this info is a non-blocking operation in most reasonable cases. lowkey iconic of it tbh π«Ά
π FUNCTION PARAMETERS π
asyncioβ theSDL_AsyncIOyou want the size of the data stream from. hand it over, bestie, it'll tell you how big it is π
β¨ RETURN VALUE β¨
- on success it returns the size of the data stream in the
SDL_IOStreamπ - on failure it returns a negative error code π
need the deets on what went wrong? call SDL_GetError() for more information. she always has the gossip π
π THREAD SAFETY π
it is safe to call this function from any thread. no cap, go wild, every thread can have a turn π
π AVAILABILITY π
this function is available since SDL 3.2.0 β
and that's the whole page, periodt π go forth and get those async IO sizes, you absolute legend π§
~ brought to you by Simple Directmedia Layer, SDL 3.4.18, page SDL_GetAsyncIOSize(3) β mwah, stan this manual π«Άπ
π¦ 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