
1 Mar
2011
1 Mar
'11
9:29 a.m.
On 3/1/11 1:35 AM, Bryan O'Sullivan wrote:
I want to see four entry points for writing:
fdWrite :: Strict.ByteString -> IO Int fdWriteAll :: Strict.ByteString -> IO () fdWritev :: [Strict.ByteString] -> IO Int -- turn the list into an iovec, then call writev fdWritevAll :: [Strict.ByteString] -> IO ()
People would normally use the 'All' variants, but there are times when you really do want to know if you've performed a short write so that you can handle it yourself.
What's an "iovec"? -- Live well, ~wren