...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
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.