Ruby 4.1 リファレンスマニュアル

function rb_thread_wait_fd

[edit]
int rb_thread_wait_fd(int fd)

ファイルディスクリプタ fd を読み込めるようになるまでカレントスレッドを停止します。