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 7789ef3d8d.
PrevUpHomeNext
file_posix::write

Write to the open file.

Synopsis
std::size_t
write(
    void const* buffer,
    std::size_t n,
    error_code& ec);
Parameters

Name

Description

buffer

The buffer holding the data to write

n

The number of bytes to write

ec

Set to the error, if any occurred


PrevUpHomeNext