stdin set to nonblocking mode

Sigbjorn Finne sof at galois.com
Fri Aug 12 10:11:24 EDT 2005


"Simon Marlow" <simonmar at microsoft.com> writes:
> 
...
> No - read() can always return less than the requested amount of data,
> even when not in O_NONBLOCK mode.
> 

Hmm, care to give some details as to why you equate "can" with
"always will" on all platforms?

--sigbjorn




More information about the Glasgow-haskell-bugs mailing list