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 2023. The current version is 1.89.0.
An implementation of File for POSIX systems.
Defined in header <boost/beast/core/file_posix.hpp>
class file_posix
|
Name |
Description |
|---|---|
|
The type of the underlying file handle. |
|
Name |
Description |
|---|---|
|
Close the file if open. |
|
|
file_posix [constructor] |
Constructor. |
|
Returns |
|
|
Returns the native handle associated with the file. |
|
|
Open a file at the given path with the specified mode. |
|
|
Assignment. |
|
|
Return the current position in the open file. |
|
|
Read from the open file. |
|
|
Adjust the current position in the open file. |
|
|
Return the size of the open file. |
|
|
Write to the open file. |
|
|
~file_posix [destructor] |
Destructor. |
This class implements a File using POSIX interfaces.