file-select

[procedure] file-select readfdlist writefdlist [timeout]

Chicken: select(2) interface. See also port->fileno, file-open.

Gauche has sys-select?.