Skip to main content

Module pipe

Module pipe 

Source
Available on crate feature pipe only.
Expand description

pipe and related APIs.

Structs§

IoSliceRawlinux_kernel
A buffer type for use with vmsplice.
PipeFlagsNon-apple
O_* constants for use with pipe_with.
SpliceFlagslinux_kernel
SPLICE_F_* constants for use with splice, vmsplice, and tee.

Constants§

PIPE_BUFNeither solarish nor Windows nor target_os=espidf nor Haiku nor target_os=horizon nor target_os=hurd nor Redox nor target_os=vita nor WASI
PIPE_BUF—The maximum length at which writes to a pipe are atomic.

Functions§

fcntl_getpipe_sizelinux_kernel
fnctl(fd, F_GETPIPE_SZ)—Return the buffer capacity of a pipe.
fcntl_setpipe_sizelinux_kernel
fnctl(fd, F_SETPIPE_SZ)—Set the buffer capacity of a pipe.
pipe
pipe()—Creates a pipe.
pipe_withNeither apple nor target_os=aix nor target_os=espidf nor Haiku nor target_os=horizon nor target_os=nto
pipe2(flags)—Creates a pipe, with flags.
splicelinux_kernel
splice(fd_in, off_in, fd_out, off_out, len, flags)—Transfer data between a file and a pipe.
teelinux_kernel
tee(fd_in, fd_out, len, flags)—Copy data between pipes without consuming it.
vmsplicelinux_kernel
vmsplice(fd, bufs, flags)—Transfer data between memory and a pipe.