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

Function fcntl_getpipe_size

src/pipe.rs:208–210  ·  view source on GitHub ↗
(fd: Fd)

Source from the content-addressed store, hash-verified

206#[cfg(linux_kernel)]
207#[inline]
208pub fn fcntl_getpipe_size<Fd: AsFd>(fd: Fd) -> io::Result<usize> {
209 backend::pipe::syscalls::fcntl_getpipe_size(fd.as_fd())
210}
211
212/// `fnctl(fd, F_SETPIPE_SZ)`—Set the buffer capacity of a pipe.
213///

Callers 3

test_fcntl_getpipe_sizeFunction · 0.50
test_fcntl_setpipe_sizeFunction · 0.50

Calls 1

as_fdMethod · 0.45

Tested by 3

test_fcntl_getpipe_sizeFunction · 0.40
test_fcntl_setpipe_sizeFunction · 0.40