|
|
Functions | |
| virtual std::vector< future<> > | boost::afio::dispatcher::truncate (const std::vector< future<>> &ops, const std::vector< off_t > &sizes)=0 |
| Schedule a batch of asynchronous file length truncations after preceding operations. | |
| future | boost::afio::async_truncate (future<> _precondition, off_t newsize) |
| Asynchronous file length truncation after a preceding operation. | |
| void | boost::afio::truncate (future<> _precondition, off_t newsize) |
| Synchronous file length truncation after a preceding operation. | |
| void | boost::afio::truncate (error_code &_ec, future<> _precondition, off_t newsize) |
| Synchronous file length truncation after a preceding operation. | |
| future boost::afio::dispatcher::truncate | ( | const std::vector< future<>> & | ops, |
| const std::vector< off_t > & | sizes | ||
| ) | [pure virtual] |
| future boost::afio::async_truncate | ( | future<> | _precondition, |
| off_t | newsize | ||
| ) |
Asynchronous file length truncation after a preceding operation.
| _precondition | The precondition to use. |
| newsize | The new size for the file. |
{Amortised O(1) to dispatch. Amortised O(1) to complete if truncating file lengths is constant time.} {readwrite_example}
| void boost::afio::truncate | ( | future<> | _precondition, |
| off_t | newsize | ||
| ) |
Synchronous file length truncation after a preceding operation.
| _precondition | The precondition to use. |
| newsize | The new size for the file. |
{distinguish, throwing} {Amortised O(1) to dispatch. Amortised O(1) to complete if truncating file lengths is constant time.} {readwrite_example}
| void boost::afio::truncate | ( | error_code & | _ec, |
| future<> | _precondition, | ||
| off_t | newsize | ||
| ) |
Synchronous file length truncation after a preceding operation.
| _ec | Error code to set. |
| _precondition | The precondition to use. |
| newsize | The new size for the file. |
{distinguish, non throwing} {Amortised O(1) to dispatch. Amortised O(1) to complete if truncating file lengths is constant time.} {readwrite_example}
|
January, 2014 |
Copyright © 2013-2014 Niall Douglas, Cork, Ireland Copyright © 2013 Paul Kirth, California |