Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chyyuu/os_kernel_lab
/ close
Function
close
user/src/file.rs:19–21 ·
view source on GitHub ↗
(fd: usize)
Source
from the content-addressed store, hash-verified
17
sys_open(path, flags.bits)
18
}
19
pub fn close(fd: usize) -> isize {
20
sys_close(fd)
21
}
22
pub fn pipe(pipe_fd: &mut [usize]) -> isize {
23
sys_pipe(pipe_fd)
24
}
Callers
7
main
Function · 0.85
main
Function · 0.85
main
Function · 0.85
worker
Function · 0.85
main
Function · 0.85
main
Function · 0.85
main
Function · 0.85
Calls
1
sys_close
Function · 0.70
Tested by
3
main
Function · 0.68
main
Function · 0.68
main
Function · 0.68