the POSIX specification (select) is the place to look for a definition select. I personally recommend it poll- it has a better interface and can handle any number of descriptors, not the system limit.
, , . , . , , , . , , , .
select/poll "" , , . , . while/for select -, , , .
, .
EDIT: , select/poll . , , , next ", " ".
select , .