sys_close

Function sys_close 

Source
pub unsafe fn sys_close(fd: i32) -> i32
Expand description

Direct syscall to close a file descriptor

ยงSafety

The caller must ensure fd is a valid open file descriptor