user::syscall
pub fn close(fd: i32) -> i32
Close a file with file descriptor fd.
fd
use user::syscall::close; close(0);