Module rustix::io

source · []
Expand description

I/O operations.

Structs

The error type for rustix APIs.

A wrapper around io_lifetimes::OwnedFd which closes the file descriptor using rustix’s own close rather than libc’s close.

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.

Call f until it either succeeds or fails other than Error::INTR.

Type Definitions

A specialized Result type for rustix APIs.