MCPcopy 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
59pub fn sys_pipe(pipe: &mut [usize]) -> isize {
60 syscall(SYSCALL_PIPE, [pipe.as_mut_ptr() as usize, 0, 0])
61}
62
63pub fn sys_read(fd: usize, buffer: &mut [u8]) -> isize {
64 syscall(

Callers 1

pipeFunction · 0.70

Calls 1

syscallFunction · 0.70

Tested by

no test coverage detected