Question

Where I can get sendfile function sources? I can't find it in kernel sources...

Was it helpful?

Solution

OTHER TIPS

Since linux-2.6.23 sendfile() is implemented using the more generic splice() framework. You will find the splice() implementation in fs/splice.c under your kernel source tree.

The sendfile() implementation itself is in fs/read_write.c.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top