[Haskell-cafe] whatever happened to sendFile?
Brandon S. Allbery KF8NH
allbery at ece.cmu.edu
Wed Aug 13 15:04:12 EDT 2008
On 2008 Aug 13, at 15:01, Chaddaï Fouché wrote:
> 2008/8/13 Jason Dusek <jason.dusek at gmail.com>:
>> I found an old lib for it:
>>
>> http://www.haskell.org/ghc/docs/6.0/html/unix/System.Sendfile.html
>>
>> Hoogle turns up nothing, though.
>>
>
> That don't sound very useful... Maybe when we only had String it was
> much more performant for big transfert, but now we can recode this in
> one short line of ByteString code and get the same performance as C.
sendfile() is actually a system call, not a library function.
--
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery at kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university KF8NH
More information about the Haskell-Cafe
mailing list