SDL_IOWhence(3type)

SDL_IOWhence3type

Possible whence values for sdl_iostream seeking.

Usage

#include "SDL3/SDL.h"

typedef enum SDL_IOWhence { SDL_IO_SEEK_SET, /**< Seek from the beginning of data */ SDL_IO_SEEK_CUR, /**< Seek relative to current read point */ SDL_IO_SEEK_END /**< Seek relative to the end of data */ } SDL_IOWhence;

Header file

Defined in SDL3/SDL_iostream.h

Overview

These map to the same "whence" concept that fseek or lseek use in the standard C runtime.

Availability

This enum is available since SDL 3.2.0.

From libsdl3-doc 3.2.10+ds-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.