Re: 2.4 sendfile() not doing as manpage promises?

From: bert hubert (ahu@ds9a.nl)
Date: Sun Nov 19 2000 - 18:16:52 EST


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/



This archive was generated by hypermail 2b29 : Thu Nov 23 2000 - 21:00:18 EST