Module rustix::io::read_write

source ·
Expand description

read and write, optionally positioned, optionally vectored.

Re-exports§

Structs§

  • A buffer type used with Write::write_vectored.
  • A buffer type used with Read::read_vectored.

Functions§

  • pread(fd, buf, offset)—Reads from a file at a given position.
  • pread(fd, buf, offset)—Reads from a file at a given position.
  • preadv(fd, bufs, offset)—Reads from a file at a given position into multiple buffers.
  • preadv2(fd, bufs, offset, flags)—Reads data, with several options.
  • pwrite(fd, bufs)—Writes to a file at a given position.
  • pwritev(fd, bufs, offset)—Writes to a file at a given position from multiple buffers.
  • pwritev2(fd, bufs, offset, flags)—Writes data, with several options.
  • read(fd, buf)—Reads from a stream.
  • read(fd, buf)—Reads from a stream.
  • readv(fd, bufs)—Reads from a stream into multiple buffers.
  • write(fd, buf)—Writes to a stream.
  • writev(fd, bufs)—Writes to a stream from multiple buffers.