Module rustix::event::select

source ·
Expand description

The select function.

§Safety

select is unsafe due to I/O safety.

Re-exports§

  • pub use crate::timespec::Nsecs;
  • pub use crate::timespec::Secs;
  • pub use crate::timespec::Timespec;

Structs§

Constants§

Functions§

  • div_ceil 🔒
  • Compute the minimum nfds value needed for the set pointed to by fds.
  • Set fd in the set pointed to by fds.
  • Compute the number of FdSetElements needed to hold a set which can contain up to set_count file descriptors with values less than nfds.
  • fd_set_num_elements implementation on platforms with bitvector implementations.
  • Clear fd in the set pointed to by fds.
  • select(nfds, readfds, writefds, exceptfds, timeout)—Wait for events on sets of file descriptors.