SDL_GetAsyncIOSize3
Use this function to get the size of the data stream in an sdl_asyncio .
Usage
#include "SDL3/SDL.h"
Sint64 SDL_GetAsyncIOSize(SDL_AsyncIO *asyncio);
Header file
Defined in SDL3/SDL_asyncio.h
Overview
This call is _not_ asynchronous; it assumes that obtaining this info is a non-blocking operation in most reasonable cases.
Function parameters
- asyncio
-
the
SDL_AsyncIO
to get the size of the data stream from.
Return value
( Sint64 ) Returns the size of the data stream in the
SDL_IOStream
on success or a negative error code on failure; call SDL_GetError () for more information.
Thread safety
It is safe to call this function from any thread.