# %lseek() function

The %lseek() function moves the read/write
pointer. See your host OS system documentation.

## Syntax

```
variable = %lseek(file.descriptor, offset, whence)
```

## See also

- [%open() function](https://d3codex.com/pickbasic-flashbasic/percent-open-function/)
- [%read() function](https://d3codex.com/pickbasic-flashbasic/percent-read-function/)
- [%write() function](https://d3codex.com/pickbasic-flashbasic/percent-write-function/)
- [FlashBASIC C functions overview](https://d3codex.com/pickbasic-flashbasic/flashbasic-c-functions-overview/)
- [cfunction statement](https://d3codex.com/pickbasic-flashbasic/cfunction-statement/)

---
Source: https://d3codex.com/pickbasic-flashbasic/percent-lseek-function/ - part of the D3Codex reference.
