Function zeroconf::ffi::read_select [−][src]
pub unsafe fn read_select(sock_fd: i32, timeout: Duration) -> Result<u32>
Expand description
Performs a unix select()
on the specified sock_fd
and timeout
. Returns the select result
or Err
if the result is negative.
Safety
This function is unsafe because it directly interfaces with C-library system calls.