---
name: "SDL_IOWhence"
section: "3type"
platform: "linux"
package: "libsdl3-doc"
version: "3.2.10+ds-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/SDL_IOWhence"
---

# SDL\_IOWhence(3type)

Possible whence values for SDL\_IOStream seeking.

## NAME

SDL\_IOWhence - Possible **whence** values for  **SDL\_IOStream**\
  seeking.

## HEADER FILE

Defined in SDL3/SDL\_iostream.h

## SYNOPSIS

```
#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;**

## DESCRIPTION

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.
