Synchronise the file data to disk. * This function synchronises the file data to disk. Note that the semantics * of this synchronisation vary between operation systems. * * @throws asio::system_error Thrown on failure. */
| 778 | * @throws asio::system_error Thrown on failure. |
| 779 | */ |
| 780 | void sync_data() |
| 781 | { |
| 782 | asio::error_code ec; |
| 783 | impl_.get_service().sync_data(impl_.get_implementation(), ec); |
| 784 | asio::detail::throw_error(ec, "sync_data"); |
| 785 | } |
| 786 | |
| 787 | /// Synchronise the file data to disk. |
| 788 | /** |
no test coverage detected