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 boost::system::system_error Thrown on failure. */
| 887 | * @throws boost::system::system_error Thrown on failure. |
| 888 | */ |
| 889 | void sync_data() |
| 890 | { |
| 891 | boost::system::error_code ec; |
| 892 | impl_.get_service().sync_data(impl_.get_implementation(), ec); |
| 893 | boost::asio::detail::throw_error(ec, "sync_data"); |
| 894 | } |
| 895 | |
| 896 | /// Synchronise the file data to disk. |
| 897 | /** |
no test coverage detected