【问题标题】:Linux sendfile sourceLinux sendfile 源码
【发布时间】:2011-05-27 20:48:14
【问题描述】:

在哪里可以获得 sendfile 函数源? 我在内核源代码中找不到它...

【问题讨论】:

    标签: linux sendfile


    【解决方案1】:

    由于linux-2.6.23 sendfile() 是使用更通用的splice() 框架实现的。您将在内核源代码树下的fs/splice.c 中找到splice() 实现。

    sendfile() 实现本身在 fs/read_write.c 中。

    【讨论】:

      【解决方案2】:

      【讨论】:

        猜你喜欢
        • 2015-08-01
        • 2018-06-10
        • 2011-02-14
        • 2011-03-16
        • 1970-01-01
        • 2011-02-02
        • 2012-05-24
        • 2011-11-26
        • 1970-01-01
        相关资源
        最近更新 更多