摘要: splice( )函数 在两个文件描述符之间移动数据,同sendfile( )函数一样,也是零拷贝。 函数原型: #include <fcntl.h> ssize_t splice(int fdin, loff_t *offin, int fdout, loff_t *offout, size_t 阅读全文
posted @ 2017-08-28 23:35 小 楼 一 夜 听 春 雨 阅读(4763) 评论(0) 推荐(3)
摘要: from http://blog.csdn.net/hnlyyk/article/details/50856268 Linux系统使用man sendfile,查看sendfile原型如下: #include <sys/sendfile.h> ssize_t sendfile(int out_fd, 阅读全文
posted @ 2017-08-28 22:41 小 楼 一 夜 听 春 雨 阅读(1118) 评论(0) 推荐(1)