MCPcopy Create free account
hub / github.com/bytecodealliance/rustix / pipe

Function pipe

src/pipe.rs:75–77  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

73/// [glibc]: https://sourceware.org/glibc/manual/latest/html_node/Creating-a-Pipe.html
74#[inline]
75pub fn pipe() -> io::Result<(OwnedFd, OwnedFd)> {
76 backend::pipe::syscalls::pipe()
77}
78
79/// `pipe2(flags)`—Creates a pipe, with flags.
80///

Callers 15

test_teeFunction · 0.50
test_fcntl_getpipe_sizeFunction · 0.50
test_fcntl_setpipe_sizeFunction · 0.50
test_basic_pipesFunction · 0.50
test_splice_cursorFunction · 0.50
test_splice_offsetFunction · 0.50
test_splice_pipe2pipeFunction · 0.50
test_vmsplice_writeFunction · 0.50
test_vmsplice_readFunction · 0.50
test_preadv2_nowaitFunction · 0.50

Calls

no outgoing calls

Tested by 15

test_teeFunction · 0.40
test_fcntl_getpipe_sizeFunction · 0.40
test_fcntl_setpipe_sizeFunction · 0.40
test_basic_pipesFunction · 0.40
test_splice_cursorFunction · 0.40
test_splice_offsetFunction · 0.40
test_splice_pipe2pipeFunction · 0.40
test_vmsplice_writeFunction · 0.40
test_vmsplice_readFunction · 0.40
test_preadv2_nowaitFunction · 0.40