In article <[EMAIL PROTECTED]>,
Jeff Garzik <[EMAIL PROTECTED]> wrote:
>sendfile(2) fails with -EINVAL every time I try to read from a device
>file.
>
>This sounds like a bug... is it? (the man page doesn't mention such a
>restriction)
sendfile() on purpose only works on things that use the
sendfile(2) fails with -EINVAL every time I try to read from a device
file.
This sounds like a bug... is it? (the man page doesn't mention such a
restriction)
I am using kernel 2.4.0-test11-pre2. All other tests with sendfile(2)
succeed: file->file, file->STDOUT, STDIN->file...
--
Jeff
sendfile(2) fails with -EINVAL every time I try to read from a device
file.
This sounds like a bug... is it? (the man page doesn't mention such a
restriction)
I am using kernel 2.4.0-test11-pre2. All other tests with sendfile(2)
succeed: file-file, file-STDOUT, STDIN-file...
--
Jeff Garzik
In article [EMAIL PROTECTED],
Jeff Garzik [EMAIL PROTECTED] wrote:
sendfile(2) fails with -EINVAL every time I try to read from a device
file.
This sounds like a bug... is it? (the man page doesn't mention such a
restriction)
sendfile() on purpose only works on things that use the page cache.
4 matches
Mail list logo