Expand description
I/O operations.
Structs
errno
—An error code.struct pollfd
—File descriptor and flags for use withpoll
.POLL*
flags for use withpoll
.
Enums
- Enumeration of possible methods to seek within an I/O object.
Functions
close(raw_fd)
—Closes aRawFd
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 thanErrno::INTR
.
Type Aliases
- A specialized
Result
type forrustix
APIs.