Ashet OS

async_call: ashet.fs.Write

Documentation

directly writes data to a given offset into the file. no streaming API to the kernel

Inputs

file: File
offset: u64
buffer: bytestr

Outputs

count: usize

Errors

DiskError
InvalidHandle
NoSpaceLeft
SystemResources
WriteProtected