[Haskell-cafe] Re: whatever happened to sendFile?
John Meacham
john at repetae.net
Wed Aug 13 18:47:34 EDT 2008
On Wed, Aug 13, 2008 at 03:40:43PM -0700, Jason Dusek wrote:
> A cross platfrom implementation would cover the case we most
> care about -- writing services that pass static files back to
> clients -- but would have to cut some functionality from the
> *NIX sendfile().
There isn't a standard unix sendfile, while a few different ones have
functions called 'sendfile', they have different meanings/prototypes in
general. If 'sendfile(2)' is going to be exposed, it should be in a low
level platform specific library, however, since you are dealing with
deciding to use unportable behavior, it is hard to see what this will
gain over a manual FFI wrapper.
John
--
John Meacham - ⑆repetae.net⑆john⑈
More information about the Haskell-Cafe
mailing list