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

This is the documentation for a snapshot of the master branch, built from commit c048f80345.
PrevUpHomeNext
file_posix::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