DragonFly BSD
DragonFly users List (threaded) for 2005-09
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Stdio and DragonFly changes


From: Oliver Fromme <check+inl9n800rskt3f59@xxxxxxxxxx>
Date: 29 Sep 2005 17:28:46 GMT

Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxx> wrote:
 > On Thu, Sep 29, 2005 at 04:15:32PM +0000, Oliver Fromme wrote:
 > > In my opinion, an application which wants to know the size
 > > of stdio's buffer is badly designed.
 > 
 > The application doesn't want to know the actual size of the buffer, it
 > just wants to know whether any data is inside. This is useful e.g. when
 > dealing with network traffics to avoid hangs :-)

Hm.  Should't non-blocking I/O be useful in that case?

Best regards
   Oliver

-- 



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]