pub fn wait_event(fd: RawFd, d: Duration) -> Result<bool>
Expand description

Wait for the file to have an event available to read.