SDL_AsyncIOResult

Possible outcomes of an asynchronous I/O task.

Header File

Defined in <SDL3/SDL_asyncio.h>

Syntax

typedef enum SDL_AsyncIOResult
{
    SDL_ASYNCIO_COMPLETE,  /**< request was completed without error */
    SDL_ASYNCIO_FAILURE,   /**< request failed for some reason; check SDL_GetError()! */
    SDL_ASYNCIO_CANCELED   /**< request was canceled before completing. */
} SDL_AsyncIOResult;

Version

This enum is available since SDL 3.2.0.


CategoryAPI, CategoryAPIEnum, CategoryAsyncIO