[Haskell-cafe] whatever happened to sendFile?
Richard A. O'Keefe
ok at cs.otago.ac.nz
Thu Aug 14 19:07:28 EDT 2008
On 14 Aug 2008, at 6:28 pm, Ketil Malde wrote:
> Isn't [sendfile()] superseeded by splice(2) nowadays?
Solaris 10:
f% man splice
No manual entry for splice
Mac OS X 10.5.4
m% man splice
No manual entry for splice
Linux 2.6.23...
o% man splice
..........
one of the descriptors MUST refer to a pipe.
So of the three tolerably current "UNIX" systems available
to me, two of them don't have it, and the third seems to be
saying you cannot use it to move data from a file (which is
not a pipe) to a socket (which is not a pipe), which is the
use-case for sendfile().
More information about the Haskell-Cafe
mailing list