...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. |
|
Constructor. |
|
Returns true if the file is open. |
|
Returns the native handle associated with the file. Set 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. |
|
Destructor. |
This class implements a File using POSIX interfaces.
Convenience header <boost/beast/core.hpp>