Wrapper around fseek(). Will throw if seeking is not possible.

Synopsis

Declared in <streams.h>

void
seek(
    int64_t offset,
    int origin);

Parameters

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).

Created with MrDocs