Linux sendfile source

感情迁移 提交于 2019-12-11 00:36:09

问题


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


回答1:


In the Linux Cross Reference




回答2:


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.



来源:https://stackoverflow.com/questions/4483311/linux-sendfile-source

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!