MCPcopy 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}
22pub fn pipe(pipe_fd: &mut [usize]) -> isize {
23 sys_pipe(pipe_fd)
24}
25pub fn read(fd: usize, buf: &mut [u8]) -> isize {
26 sys_read(fd, buf)
27}

Callers 3

mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85

Calls 1

sys_pipeFunction · 0.70

Tested by 2

mainFunction · 0.68
mainFunction · 0.68