Function arceos_api::fs::ax_write_file
source · pub fn ax_write_file(file: &mut AxFileHandle, buf: &[u8]) -> AxResult<usize>
Available on crate feature
fs
only.Expand description
Writes the file at the current position, returns the number of bytes written.
After the write, the cursor will be advanced by the number of bytes written.