Ref_Data/other_select2.cdump_ref
raw| 1 | |
| 2 | # Make sure that file-descriptor monitoring version of select |
| 3 | # doesn't get identified as loopy one |
| 4 | |
| 5 | $rout= $timeleft= $nfound= $wout= $eout= $timeout = 0; |
| 6 | $rin = $win = $ein = ''; |
| 7 | vec($rin,fileno(STDIN),1) = 1; |
| 8 | vec($win,fileno(STDOUT),1) = 1; |
| 9 | $ein = $rin | $win; |
| 10 | |
| 11 | ($nfound,$timeleft) = |
| 12 | select($rout=$rin, $wout=$win, $eout=$ein, $timeout); |