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