cautious-file-0.1.5: Ways to write a file cautiously, to reduce the chances of problems such as data loss due to crashes or power failuresSource codeContentsIndex
System.Posix.ByteLevel
Synopsis
fdWrite :: Fd -> CStringLen -> IO ByteCount
fdWriteB :: Fd -> ByteString -> IO Int
writeAllB :: Fd -> ByteString -> IO ()
writeAllL :: Fd -> ByteString -> IO ()
Documentation
fdWrite :: Fd -> CStringLen -> IO ByteCountSource
fdWriteB :: Fd -> ByteString -> IO IntSource
writeAllB :: Fd -> ByteString -> IO ()Source
Write the entire contents of the strict bytestring. Assumes blocking mode.
writeAllL :: Fd -> ByteString -> IO ()Source
Write the entire contents of the lazy bytestring. Assumes blocking mode.
Produced by Haddock version 2.6.0