Expand description
Structs§
- FdSet
Element - Storage element type for use with
select
. - FdSet
Iter - An iterator over the fds in a set.
Constants§
- BITS 🔒
Functions§
- div_
ceil 🔒 - fd_
set_ bound - Compute the minimum
nfds
value needed for the set pointed to byfds
. - fd_
set_ insert - Set
fd
in the set pointed to byfds
. - fd_
set_ num_ elements - Compute the number of
FdSetElement
s needed to hold a set which can contain up toset_count
file descriptors with values less thannfds
. - fd_
set_ 🔒num_ elements_ for_ bitvector fd_set_num_elements
implementation on platforms with bitvector implementations.- fd_
set_ remove - Clear
fd
in the set pointed to byfds
. - select⚠
select(nfds, readfds, writefds, exceptfds, timeout)
—Wait for events on sets of file descriptors.