Available on crate feature
pipe only.Expand description
pipe and related APIs.
Structs§
- IoSlice
Raw linux_kernel - A buffer type for use with
vmsplice. - Pipe
Flags Non- apple O_*constants for use withpipe_with.- Splice
Flags linux_kernel SPLICE_F_*constants for use withsplice,vmsplice, andtee.
Constants§
- PIPE_
BUF Neither solarishnor Windows nortarget_os=espidfnor Haiku nortarget_os=horizonnortarget_os=hurdnor Redox nortarget_os=vitanor WASI PIPE_BUF—The maximum length at which writes to a pipe are atomic.
Functions§
- fcntl_
getpipe_ size linux_kernel fnctl(fd, F_GETPIPE_SZ)—Return the buffer capacity of a pipe.- fcntl_
setpipe_ size linux_kernel fnctl(fd, F_SETPIPE_SZ)—Set the buffer capacity of a pipe.- pipe
pipe()—Creates a pipe.- pipe_
with Neither applenortarget_os=aixnortarget_os=espidfnor Haiku nortarget_os=horizonnortarget_os=nto pipe2(flags)—Creates a pipe, with flags.- splice
linux_kernel splice(fd_in, off_in, fd_out, off_out, len, flags)—Transfer data between a file and a pipe.- tee
linux_kernel tee(fd_in, fd_out, len, flags)—Copy data between pipes without consuming it.- vmsplice⚠
linux_kernel vmsplice(fd, bufs, flags)—Transfer data between memory and a pipe.