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 an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext
file::write

(Inherited from file_stdio)

Write to the open file.

Synopsis
std::size_t
write(
    void const* buffer,
    std::size_t n,
    error_code& ec);
Description
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