Re: sendfile(2) behaviour has changed ?

From: bert hubert (
Date: Wed Oct 16 2002 - 05:25:08 EST

On Wed, Oct 16, 2002 at 02:59:35AM -0700, David S. Miller wrote:
> It has only been intended for output to a TCP stream socket.
> To be honest, I'm not so sure about this.

The old manpage did not state this properly. In November 2000 I tried to use
sendfile as recvfile and discovered that it did not work. The ensuing
discussion led to the modification of the manpage to state that it would
only write to a socket and only read from a pagecache backed fd.


bert hubert

--          Versatile DNS Software & Services                              the dot in .tk           Linux Advanced Routing & Traffic Control HOWTO
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Wed Oct 23 2002 - 22:00:27 EST