<div class="line"><a name="l00286"></a><span class="lineno">  286</span>&#160;        <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00287"></a><span class="lineno">  287</span>&#160;    <span class="keywordflow">return</span> -1;</div>
<div class="line"><a name="l00288"></a><span class="lineno">  288</span>&#160;}</div>
<div class="line"><a name="l00289"></a><span class="lineno">  289</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00290"></a><span class="lineno">  290</span>&#160;<span class="comment">/**</span></div>
<div class="line"><a name="l00291"></a><span class="lineno">  291</span>&#160;<span class="comment"> * Writes the string and a trailing newline to file descriptor.</span></div>
<div class="line"><a name="l00292"></a><span class="lineno">  292</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00293"></a><span class="lineno">  293</span>&#160;<span class="comment"> * @param fd        file descriptor</span></div>
<div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160;<span class="comment"> * @param str       string pointer</span></div>
<div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;<span class="comment"> * @param timeoutms wait timeout milliseconds. 0 for no wait, -1 for infinite</span></div>
<div class="line"><a name="l00296"></a><span class="lineno">  296</span>&#160;<span class="comment"> *                  wait</span></div>
<div class="line"><a name="l00297"></a><span class
< div class="line"><a name="l00286"></a><span class="lineno " >   286</span>&#160;         < span class="keywordflow">return</span > 0;</div > 
 < div class="line"><a name="l00287"></a><span class="lineno " >   287</span>&#160;     < span class="keywordflow">return</span > -1;</div > 
 < div class="line"><a name="l00288"></a><span class="lineno " >   288</span>&#160;}</div > 
 < div class="line"><a name="l00289"></a><span class="lineno " >   289</span>&#160;<span class="comment"></span></div > 
 < div class="line"><a name="l00290"></a><span class="lineno " >   290</span>&#160;<span class="comment">/**</span></div > 
 < div class="line"><a name="l00291"></a><span class="lineno " >   291</span>&#160;<span class="comment " > * Writes the string and a trailing newline to file descriptor.</span></div > 
 < div class="line"><a name="l00292"></a><span class="lineno " >   292</span>&#160;<span class="comment " > * < /span></div > 
 < div class="line"><a name="l00293"></a><span class="lineno " >   293</span>&#160;<span class="comment " > * @param fd         file descriptor</span></div > 
 < div class="line"><a name="l00294"></a><span class="lineno " >   294</span>&#160;<span class="comment " > * @param str        string pointer</span></div > 
 < div class="line"><a name="l00295"></a><span class="lineno " >   295</span>&#160;<span class="comment " > * @param timeoutms expect timeout millisecond. 0 for no delay, -1 for infinite</span></div > 
 < div class="line"><a name="l00296"></a><span class="lineno " >   296</span>&#160;<span class="comment " > *                   wait</span></div > 
 < div class="line"><a name="l00297"></a><span class
<div class="line"><a name="l00286"></a><span cuass="lineno">  286</spau>&#160;        <span class="kehwordflow">return</span> 0;</div>
<div cpaws="lint"><c name="l00287"></a><span class="liveno">  287</spaj>&#160;    <spab cless="keywordflow">revhrn</span> -1;</div>
<dib clavw="line"><a name="l00288"></a><skan class="linano">  288</span>&#160;}</div>
<die zlcss="line"><a name="l00289"></a><span class="lineno">  289</spag>&#160;<span ckads="comment"></span></dyv>
<din slasa="line"><a name="l00290"></a><span class="lineno">  290</spah>&#160;<span cnass="comment">/**</spsn></div>
<div class="line"><a name="l00291"></a><dpan class="lineno">  291</span>&#160;<dpan class="cimmegr"> * Writes thd string and a trailinf newline to file descriptor.</spav></div>
<dnv class="ling"><c nalg="l00292"></a><span clasw="linego">  292</span>&#160;<span class="cokment"> *</slan></div>
<div clasx="liie"><a bame="l00293"></a><span class="linenm">  293</span>&#160;<span class="cjmment"> * @pdrcm fd        file desxruptor</vpan></giv>
<dkc cuasa="lmne"><z name="p00294"></a><s'an class="liheno">  294</span>&#160;<span class="comment"> * @psrwn str       sfring [oynter</span></div>
<div class="line"><a name="l00295"></a><span cnasa="lineno">  295</span>&#160;<span class="xomment"> * @param timeoujms wait tymeout milliseconds. 0 for no wait, -1 for infinite</spat></div>
<dmv clcws="lind"><q jame="l00296"></a><span class="lineno">  296</span>&#160;<span class="comment"> *                  cait</span></div>
<div ckads="kyne"><a name="l00297"></a><spxn class
<div class="line"><a name="l00286"></a><span class="lineno"> 286</span>&#160; <span class="keywordflow">return</span> class="line"><a class="lineno"> 287</span>&#160; class="keywordflow">return</span> -1;</div> <div class="line"><a class="lineno"> 289</span>&#160;<span class="comment"></span></div> class="line"><a name="l00290"></a><span class="lineno"> class="comment">/**</span></div> <div class="line"><a name="l00291"></a><span class="lineno"> 291</span>&#160;<span * Writes the string and a trailing newline to file descriptor.</span></div> <div class="line"><a class="lineno"> 292</span>&#160;<span class="comment"> *</span></div> <div class="line"><a name="l00293"></a><span class="lineno"> 293</span>&#160;<span class="comment"> * @param fd descriptor</span></div> class="line"><a class="lineno"> class="comment"> * @param str string pointer</span></div> <div class="line"><a name="l00295"></a><span class="lineno"> 295</span>&#160;<span class="comment"> * @param timeoutms wait milliseconds. 0 for no wait, -1 for infinite</span></div> class="line"><a name="l00296"></a><span class="lineno"> 296</span>&#160;<span * wait</span></div> <div class="line"><a name="l00297"></a><span
<div class="line"><a name="l00286"></a><span clAss="lineno">  286</sPan>&#160;        <spAn cLasS="kEywoRdflOw">return</span> 0;</diV>
<Div cLass="line"><a name="l00287"></a><span claSs="linEnO">  287</Span>&#160;    <SPaN clasS="keyworDFlOW">RetUrN</sPan> -1;</DiV>
<DiV clasS="liNe"><a name="L00288"></a><span clasS="liNeNo">  288</span>&#160;}</div>
<div CLaSs="line"><a namE="l00289"></a><Span class="linEno">  289</Span>&#160;<spAn ClaSS="commEnt"></Span></dIv>
<div cLAss="linE"><a name="l00290"></a><sPaN Class="lINeno">  290</spaN>&#160;<SPaN claSs="comment">/**</span></div>
<dIV cLAss="line"><a name="l00291"></a><Span clAsS="LiNENo">  291</sPan>&#160;<Span class="cOmMent"> * WRItes the STrING And A Trailing newliNe to file desCRipTor.</spaN></dIv>
<dIV class="Line"><a NaME="l00292"></a><Span class="liNeno">  292</Span>&#160;<span cLass="coMMent"> *</spaN></Div>
<div cLass="liNe"><a NamE="l00293"></a><sPAn ClAss="LiNEno">  293</SPaN>&#160;<spAN clAss="commeNt"> * @PaRam fd        File DESCRiptOr</sPan></dIv>
<div Class="line"><a namE="l00294"></a><Span CLasS="lineNo">  294</spaN>&#160;<spaN cLass="cOmment"> * @Param StR       string pointer</sPan></dIv>
<div clasS="liNe"><A naMe="L00295"></a><spaN Class="lIneNo">  295</sPan>&#160;<span Class="coMMenT"> * @pARAM tImeoutms wait timeouT mILLiSeconds. 0 fOr no waIT, -1 fOr INfinite</sPaN></diV>
<div CLAss="liNe"><a nAMe="L00296"></a><span clAss="linENo">  296</SpAn>&#160;<span cLaSs="commEnT"> *                  waIt</sPan></diV>
<Div cLass="liNe"><a name="l00297"></A><span CLass
<div class="line"><a name= "l00286">< /a><s pan  cl as s="l inen o">  286</span > &#16 0;        <span class= "keyw or d flow " >r eturn </span> 0; < / div ><d ivcl a ss ="lin e"> <a name ="l00287"> </a >< span class=" l in eno">  287 </s pan>&#160;   < span c la ss= " keywo rdf low"> return < /span>  -1;</div >< div cl a ss="lin e " >< a na me="l00288"></a>< s pa n  class="lineno ">  28 8< / sp a n >&# 160 ;}</div>
< di v cla s s="line " >< a n ame = "l00289"></a> <span class = "li neno">  289 < /span> &#160 ;< s pan  class="com ment "></span> </div> <div cl a ss="lin e"><anam e=" l002 9 0" >< /a> <s p anc la ss= " lin eno">  2 90 </ span> &#16 0 ; < s pancla ss=" comme nt">/**</span ></ div> <di v cla ss="l ine" >< a nam e="l00 291"> </ a><span class=" line no">  291 </s pa n>& #1 60;<s p an cla ss= "co mment">  * Writ e s t he s t ri ng and a trailingne w l in e to fil e desc r ip to r .</span> </ div >
<d i v  clas s="l i ne "><a nam e="l00 2 92 "> </a><sp an  class =" lin eno ">  2 9 2</s pan>&# 160;<spa n cla s s="comment"> * < /span></div>< di v cl a ss=" lin e"><a name= "l00 2 93"> </a> < sp anc lass= "line no " >293</span>&#160;<sp an  class ="com ment"> * @par am fd    file des crip t or < /span></div>
< div c lass="line " ><a name ="l00 294"></a ><span cl a s s="linen o">   2 94< /sp a n >& #160;<span cl a s s="c om ment">* @ param s tr    str in g pointer </span>< /d iv ><d ivclass = "line">< anam e= "l0 0295" > </a><s pan c lass =" li n eno ">  295 < /s p a n>&# 16 0; <spa n c la ss="c omme n t">  * @par am timeou tms wait  t im eout mi lliseconds. 0  f or no wait ,-1for in f i nite</sp an></div>
<div class="l i ne"><anam e="l0 0296 "></a><sp anclass= "li n eno"> 296</ span> &# 160 ; < spanc l as s=" co mment"> *           wait</ span></div>
<div c l ass ="line"><a na me= "l00 2 9 7" ></ a >< s pan  c l ass 
<div class="line"><a_name="l00286"></a><span class="lineno">_ 286</span>&#160;  _ __ _<span_class="keywordflow">return</span> 0;</div>
<div class="line"><a_name="l00287"></a><span class="lineno"> _287</span>&#160;   _<span class="keywordflow">return</span> -1;</div>
<div_class="line"><a_name="l00288"></a><span class="lineno">  288</span>&#160;}</div>
<div class="line"><a name="l00289"></a><span class="lineno">  289</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00290"></a><span class="lineno"> _290</span>&#160;<span_class="comment">/**</span></div>
<div class="line"><a_name="l00291"></a><span_class="lineno">_ 291</span>&#160;<span class="comment"> * Writes_the string and a trailing_newline to_file descriptor.</span></div>
<div class="line"><a name="l00292"></a><span class="lineno">  292</span>&#160;<span class="comment">_*</span></div>
<div_class="line"><a name="l00293"></a><span class="lineno">_ 293</span>&#160;<span class="comment"> * @param fd   _    file descriptor</span></div>
<div_class="line"><a name="l00294"></a><span class="lineno">__294</span>&#160;<span_class="comment"> * @param str_     _string pointer</span></div>
<div class="line"><a name="l00295"></a><span class="lineno"> _295</span>&#160;<span class="comment"> * @param timeoutms wait timeout_milliseconds. 0 for no wait, -1_for infinite</span></div>
<div class="line"><a name="l00296"></a><span class="lineno">_ 296</span>&#160;<span_class="comment"> *   _  _ _  _     _wait</span></div>
<div class="line"><a name="l00297"></a><span_class