rustix

Module pipe

Source
Available on crate feature pipe only.
Expand description

pipe and related APIs.

§Safety

vmsplice is an unsafe function.

Structs§

Constants§

  • PIPE_BUF—The maximum length at which writes to a pipe are atomic.

Functions§

  • fnctl(fd, F_GETPIPE_SZ)—Return the buffer capacity of a pipe.
  • fnctl(fd, F_SETPIPE_SZ)—Set the buffer capacity of a pipe.
  • pipe()—Creates a pipe.
  • pipe2(flags)—Creates a pipe, with flags.
  • splice(fd_in, off_in, fd_out, off_out, len, flags)—Transfer data between a file and a pipe.
  • tee(fd_in, fd_out, len, flags)—Copy data between pipes without consuming it.
  • vmsplice(fd, bufs, flags)—Transfer data between memory and a pipe.