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: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 29 Sep 2005 10:34:49 -0700 (PDT)

:
: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
:
:-- 

    Most stdio implementatons can't handle non-blocking I/O.  I
    don't know if ours can or not.

					-Matt
					Matthew Dillon 
					<dillon@xxxxxxxxxxxxx>



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