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 an older version of Boost and was released in 2024. The current version is 1.90.0.
Seek to a position in the file.
uint64_t seek( int64_t offset, file_base::seek_basis whence, boost::system::error_code & ec);
This function updates the current position in the file.
The requested position in the file, relative to whence.
One of seek_set,
seek_cur or seek_end.
Set to indicate what error occurred, if any.
The new position relative to the beginning of the file.