arceos_api::fs

Function ax_flush_file

Source
pub fn ax_flush_file(file: &AxFileHandle) -> AxResult
Available on crate feature fs only.
Expand description

Flushes the file, writes all buffered data to the underlying device.