Skip to main content

rb_thread_wait_fd

Function rb_thread_wait_fd 

Source
pub unsafe extern "C" fn rb_thread_wait_fd(fd: c_int) -> c_int
Expand description

Blocks the current thread until the given file descriptor is ready to be read.

ยง@param[in] fd A file descriptor. @exception rb_eIOError Closed stream. @exception rb_eSystemCallError Situations like EBADF.

Generated by rb-sys for Ruby mri-x86_64-linux-gnu-3.3.8