Function sys_handle_close

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

Close a handle (sys_handle_close)

This system call closes a handle and removes it from the handle table.

§Arguments

  • handle: The handle to close

§Returns

  • 0 on success
  • usize::MAX on error (invalid handle)