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

Function pipe_with

src/pipe.rs:110–112  ·  view source on GitHub ↗
(flags: PipeFlags)

Source from the content-addressed store, hash-verified

108#[inline]
109#[doc(alias = "pipe2")]
110pub fn pipe_with(flags: PipeFlags) -> io::Result<(OwnedFd, OwnedFd)> {
111 backend::pipe::syscalls::pipe_with(flags)
112}
113
114/// `splice(fd_in, off_in, fd_out, off_out, len, flags)`—Transfer data
115/// between a file and a pipe.

Callers 1

test_basic_pipes_withFunction · 0.50

Calls

no outgoing calls

Tested by 1

test_basic_pipes_withFunction · 0.40