sendfile(2) fails for devices?

From: Jeff Garzik (jgarzik@mandrakesoft.com)
Date: Sat Nov 11 2000 - 19:14:00 EST


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/



This archive was generated by hypermail 2b29 : Wed Nov 15 2000 - 21:00:21 EST