diff options
author | Dimitris Zlatanidis <d.zlatanidis@gmail.com> | 2014-02-06 19:20:31 +0700 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2014-02-08 11:10:11 -0600 |
commit | 5f72ac5229f6cb32530d04aa40f5feab2ebae43d (patch) | |
tree | e6a5359bfcb459feaf1d42bf9ce3fc137ed184a5 /libraries/pysendfile/README | |
parent | 117fbc6af05f0d4cef3c95e922d3d9245e7d1778 (diff) |
libraries/pysendfile: Added (Interface to sendfile syscall).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/pysendfile/README')
-rw-r--r-- | libraries/pysendfile/README | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libraries/pysendfile/README b/libraries/pysendfile/README new file mode 100644 index 0000000000000..f4087ba0c1b78 --- /dev/null +++ b/libraries/pysendfile/README @@ -0,0 +1,9 @@ +A Python interface to sendfile(2) syscall. + +sendfile(2) is a system call which provides a "zero-copy" way of copying data +from one file descriptor to another (a socket). + +The phrase "zero-copy" refers to the fact that all of the copying of data +between the two descriptors is done entirely by the kernel, with no +copying of data into userspace buffers. This is particularly useful +when sending a file over a socket (e.g. FTP). |