lkml.org 
[lkml]   [2002]   [Oct]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: sendfile(2) behaviour has changed ?
From
Date
"David S. Miller" <davem@redhat.com> writes:

> From: James Antill <james@and.org>
> Date: 17 Oct 2002 16:51:30 -0400
>
> It really needs a new interface for recvfile/copyfile/whatever
> anyway, as you can only specify an off_t for the from fd at present.
>
> Ummm, you can use lseek() on the 'to' fd perhaps?

On the client side it's pretty useful to be able to write into the
same file from the network from multiple connections.

You could say that you are much more likely to have multiple
connections reading from one file than have them writing to the
same file on the server, but then there the errno problem is much more
obvious.

--
# James Antill -- james@and.org
:0:
* ^From: .*james@and\.org
/dev/null
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:30    [W:0.037 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site