From 5f72ac5229f6cb32530d04aa40f5feab2ebae43d Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Thu, 6 Feb 2014 19:20:31 +0700 Subject: libraries/pysendfile: Added (Interface to sendfile syscall). Signed-off-by: Willy Sudiarto Raharjo --- libraries/pysendfile/README | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 libraries/pysendfile/README (limited to 'libraries/pysendfile/README') diff --git a/libraries/pysendfile/README b/libraries/pysendfile/README new file mode 100644 index 0000000000..f4087ba0c1 --- /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). -- cgit v1.2.3