close_asm

Function close_asm 

Source
pub unsafe fn close_asm(fd: i32)
Expand description

Closes file descriptor using direct syscall

ยงSafety

  • Takes ownership of the file descriptor
  • Invalidates fd after call