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::read

(Inherited from file_stdio)

Read from the open file.

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

Name

Description

buffer

The buffer for storing the result of the read

n

The number of bytes to read

ec

Set to the error, if any occurred


PrevUpHomeNext