[#AutoFile-seek] = xref:AutoFile.adoc[AutoFile]::seek :relfileprefix: ../ :mrdocs: Wrapper around fseek(). Will throw if seeking is not possible. == Synopsis Declared in `<streams.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void seek( int64_t offset, int origin); ---- == Parameters [cols="1,4"] |=== | Name| Description | *offset* | Byte offset to seek to, interpreted relative to `origin`. | *origin* | Reference point for the seek (e.g. SEEK_SET, SEEK_CUR, SEEK_END). |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#