Messages in this thread |  | | Date | Mon, 20 Nov 2000 00:16:52 +0100 | From | bert hubert <> | Subject | Re: 2.4 sendfile() not doing as manpage promises? |
| |
On Sun, Nov 19, 2000 at 05:36:23PM +0100, Andries Brouwer wrote: > DESCRIPTION > This call copies data between one file descriptor and > another. Either or both of these file descriptors may > refer to a socket. in_fd should be a file descriptor > opened for reading and out_fd should be a descriptor > opened for writing. > > If that is incorrect, then editing a private copy of the manpage, > as Dan Hollis, or the distributor from whom he got his page, > seems to have done, does not suffice to change the manpage distribution.
Improved attempt:
DESCRIPTION This call copies data between one file descriptor and another. The descriptor from which data is read cannot be a socket but must correspond to a file which supports mmap()-like operations. in_fd should be a filedescriptor opened for reading and out_fd should be a descriptor opened for writing. Because this copying is done within the kernel, sendfile() does not need to spend time transfering data to and from userspace.
Regards,
bert hubert
-- PowerDNS Versatile DNS Services Trilab The Technology People 'SYN! .. SYN|ACK! .. ACK!' - the mating call of the internet - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
|  |