SDL Wiki
(This is the documentation for SDL3, which is the current stable version. SDL2 was the previous version!)

SDL_IOWhence

Possible whence values for SDL_IOStream seeking.

Header File

Defined in <SDL3/SDL_iostream.h>

Syntax

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;

Remarks

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

Version

This enum is available since SDL 3.1.3.


CategoryAPI, CategoryAPIEnum, CategoryIOStream


[ edit | delete | history | feedback | raw ]

[ front page | index | search | recent changes | git repo | offline html ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.