
22 Apr
2005
22 Apr
'05
7:26 a.m.
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)? Peter