Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

PrevUpHomeNext
file_stdio::seek

Adjust the current position in the open file.

Synopsis
void
seek(
    std::uint64_t offset,
    error_code& ec);
Parameters

Name

Description

offset

The offset in bytes from the beginning of the file

ec

Set to the error, if any occurred


PrevUpHomeNext