Function sys_stream_write

Source
pub fn sys_stream_write(trapframe: &mut Trapframe) -> usize
Expand description

System call for writing to a KernelObject with StreamOps capability

§Arguments

  • handle: Handle to the KernelObject
  • buffer_ptr: Pointer to the buffer to write from
  • count: Number of bytes to write

§Returns

  • On success: number of bytes written
  • On error: usize::MAX