simons at cryp.to
Fri Apr 22 07:26:14 EDT 2005
Simon Marlow writes:
>> hPutBufNonBlocking :: Handle -> Ptr a -> Int -> IO Int
>> hGetBufNonBlocking :: Handle -> Ptr a -> Int -> IO Int
> You have these in GHC.IO at the moment.
I know. ;-)
> These are also rather more difficult to implement than
> the single-byte versions, so I can't see nhc98 or Hugs
> implementing them any time soon.
What is difficult to implement about these functions? Aren't
they just wrappers for read(2) and write(2)?
More information about the Libraries