2
我可以在哪里获得sendfile函数源? 我找不到它在内核源代码...Linux发送文件源
我可以在哪里获得sendfile函数源? 我找不到它在内核源代码...Linux发送文件源
由于linux-2.6.23sendfile()
使用更通用的splice()
框架中实现。你会在内核源代码树下的fs/splice.c中找到splice()
实现。
sendfile()
执行本身在fs/read_write.c。
非常感谢你! – Anton 2010-12-19 14:23:16