Possible whence
values for SDL_IOStream seeking.
Defined in <SDL3/SDL_iostream.h>
typedef enum SDL_IOWhence
{/**< Seek from the beginning of data */
SDL_IO_SEEK_SET, /**< Seek relative to current read point */
SDL_IO_SEEK_CUR, /**< Seek relative to the end of data */
SDL_IO_SEEK_END } SDL_IOWhence;
These map to the same "whence" concept that fseek
or lseek
use in the standard C runtime.
This enum is available since SDL 3.1.3.