Module rustix::io

source ·
Expand description

I/O operations.

Structs

Enums

  • Enumeration of possible methods to seek within an I/O object.

Functions

  • close(raw_fd)—Closes a RawFd directly.
  • ioctl(fd, FIONBIO, &value)—Enables or disables non-blocking mode.
  • ioctl(fd, FIONREAD)—Returns the number of bytes ready to be read.
  • poll(self.fds, timeout)
  • Call f until it either succeeds or fails other than Errno::INTR.

Type Aliases