Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chyyuu/os_kernel_lab
/ sys_pipe
Function
sys_pipe
user/src/syscall.rs:59–61 ·
view source on GitHub ↗
(pipe: &mut [usize])
Source
from the content-addressed store, hash-verified
57
}
58
59
pub fn sys_pipe(pipe: &mut [usize]) -> isize {
60
syscall(SYSCALL_PIPE, [pipe.as_mut_ptr() as usize, 0, 0])
61
}
62
63
pub fn sys_read(fd: usize, buffer: &mut [u8]) -> isize {
64
syscall(
Callers
1
pipe
Function · 0.70
Calls
1
syscall
Function · 0.70
Tested by
no test coverage detected