Posted Dec 22, 2005 8:12 UTC (Thu) by Ross
In reply to: splice
Parent article: Some new system calls
Using sendfile() is just a shortcut for read() followed by write() with the same buffer and length; it avoids copying into and out of userspace. The difference with splice() is that the reading and writing will happen automatically as data becomes available, not requiring userspace to perform additional system calls, need to determine optimal buffer sizes, etc.
I do wonder how error handling would work...
to post comments)