SDL_GetIOSize(3)
π NAME π
okay so bestie, this is the SDL3 FUNCTIONS manual page for SDL_GetIOSize(3) β and the whole point is: use SDL_GetIOSize to get the size of the data stream in an SDL_IOStream. literally that's the function's whole job. no cap. β¨
π¦ SYNOPSIS π¦
#include <SDL3/SDL_iostream.h>
Sint64 SDL_GetIOSize(SDL_IOStream *context);
π FUNCTION PARAMETERS π
contextβ theSDL_IOStreamto get the size of the data stream from. give it the stream, get the size. iconic.
πΈ RETURN VALUE πΈ
On success, you get the size of the data stream in the SDL_IOStream β yes, as a Sint64, slay. On failure, you get a negative error code. if that happens, call SDL_GetError() for more information. fr fr, that's your bestie for the error deets. π
π THREAD SAFETY π
bestie, do not use the same SDL_IOStream from two threads at once. that's the whole warning. no multitasking that stream, periodt. π«Ά
β AVAILABILITY β
This function is available since SDL 3.2.0. so if you're on SDL 3.2.0 or later, you're good. π
okay bye bestie, mwah π β this page was served by Simple Directmedia Layer, version SDL 3.4.18, and it's literally the SDL_GetIOSize(3) page. stay hydrated, keep your streams safe, and don't share one across threads β¨ππ
π¦ 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