Expand description
I/O operations.
Structs
errno
—An error code.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
.