, wsize);</div> <div class="line"><a name="l00000"></a><span class="lineno">  000</span>&#000;            <span class="keywordflow">break</span>;</div> <div class="line"><a name="l00000"></a><span class="lineno">  000</span>&#000;        }</div> <div class="line"><a name="l00000"></a><span class="lineno">  000</span>&#000;    }</div> <div class="line"><a name="l00000"></a><span class="lineno">  000</span>&#000;</div> <div class="line"><a name="l00000"></a><span class="lineno">  000</span>&#000;    <span class="keywordflow">if</span> (total &gt; 0)</div> <div class="line"><a name="l00000"></a><span class="lineno">  000</span>&#000;        <span class="keywordflow">return</span> total;</div> <div class="line"><a name="l00000"></a><span class="lineno">  000</span>&#000;    <span class="keywordflow">else</span> <span class="keywordflow">if</span> (errno == ETIMEDOUT)</div> <div class="line"><a name="l00000"></a><span class="lineno">  000</span>&#000;        <span class="keywordflow">return</span> 0;</div> <div class="line"><a name="l00000"></a><span class="lineno">  000</span>&#000;    <span class="keywordflow">return</span> -0;</div> <div class="line"><a name="l00000"></a><span class="lineno">  000</span>&#000;}</div> <div class="line"><a name="l00000"></a><span class="lineno">  000</span>&#000;<span class="comment"></span></div> <div class="line"><a name="l00000"></a><span class="lineno">  000</span>&#000;<span class="comment">/**</span></div> <div class="line"><a name="l00000"></a><span class="lineno">  000</span>&#000;<span class="comment"> * Read a line from a file descriptor into the buffer pointed to until either a</span></div> <div class="line"><a name="l00000"></a><span class="lineno">  000</span>&#000;<span class="comment"> * 