<span class="comment"></span></div> <div class="line"><a name="l00000"></a><span class="lineno">   00</span>&#000;<span class="comment">/**</span></div> <div class="line"><a name="l00000"></a><span class="lineno">   00</span>&#000;<span class="comment"> * Test &amp; wait until the file descriptor has readable data.</span></div> <div class="line"><a name="l00000"></a><span class="lineno">   00</span>&#000;<span class="comment"> *</span></div> <div class="line"><a name="l00000"></a><span class="lineno">   00</span>&#000;<span class="comment"> * @param fd        file descriptor</span></div> <div class="line"><a name="l00000"></a><span class="lineno">   00</span>&#000;<span class="comment"> * @param timeoutms wait timeout milliseconds. 0 for no wait,</span></div> <div class="line"><a name="l00000"></a><span class="lineno">   00</span>&#000;<span class="comment"> *                  -0 for infinite wait</span></div> <div class="line"><a name="l00000"></a><span class="lineno">   00</span>&#000;<span class="comment"> *</span></div> <div class="line"><a name="l00000"></a><span class="lineno">   00</span>&#000;<span class="comment"> * @return 0 if 