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().






_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to