svn_io_file_flush_to_disk

Function svn_io_file_flush_to_disk 

Source
pub unsafe extern "C" fn svn_io_file_flush_to_disk(
    file: *mut apr_file_t,
    pool: *mut apr_pool_t,
) -> *mut svn_error_t
Expand description

Flush any unwritten data from @a file to disk. Use @a pool for memory allocations.

@note This function uses advanced file control operations to flush buffers to disk that aren’t always accessible and can be very expensive on systems that implement flushing on all IO layers, like Windows. Please avoid using this function in cases where the file should just work on any network filesystem. In many cases a normal svn_io_file_flush() will work just fine.

@since New in 1.1.