[lkml]   [2000]   [Nov]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: 2.4 sendfile() not doing as manpage promises?
On Sun, 19 Nov 2000, bert hubert wrote:
> After some exploring with 'ddd' (a very nice graphical frontend for gdb,
> which includes tools to display and traverse structs), I found that this
> probably means that sendfile() can only be used to send files from
> blockdevices which support mmap()-like functionality. Is this correct?


> In that case, the wording of the manpage needs to be changed, as it
> implies that 'either or both' of the filedescriptors can be sockets.

Its quite clear.

This call copies data between file descriptor and another
file descriptor or socket. in_fd should be a file
descriptor opened for reading. out_fd should be a
descriptor opened for writing or a connected socket.

in_fd must be a file, out_fd can be a file or socket.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

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