SDL_IOStreamInterface.seek

Seek to offset relative to whence, one of stdio's whence values: SDL_IO_SEEK_SET, SDL_IO_SEEK_CUR, SDL_IO_SEEK_END

struct SDL_IOStreamInterface
Sint64 function(void* userdata, Sint64 offset, SDL_IOWhence whence) seek;

Return Value

The final offset in the data stream, or -1 on error.

Meta