lkml.org 
[lkml]   [2000]   [Nov]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectsendfile(2) fails for devices?
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 |
Building 1024 | Would you like a Twinkie?
MandrakeSoft |
-
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/

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