-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | A portable sendfile library -- -- A library which exposes zero-copy sendfile functionality in a portable -- way. If a platform does not support sendfile, a fallback -- implementation in haskell is provided. @package sendfile @version 0.1 module SendFile.Internal sendFile :: Handle -> FilePath -> IO () sendFileMode :: String module SendFile -- | A cross-platform wrapper for sendfile -- this implements an available -- operating-system call if supported, otherwise it falls back to a -- portable haskell implementation. It takes a Handle which it will first -- flush before handing it to the operating system to perform the -- transmission. sendFile :: Handle -> FilePath -> IO () -- | Returns the mode that sendfile was compiled with. Mainly for debugging -- use. Possible values are WIN32_SENDFILE and PORTABLE_SENDFILE. sendFileMode :: String