Messages in this thread |  | | Date | Mon, 23 Oct 2000 12:19:31 +0000 | From | Pavel Machek <> | Subject | Re: [PATCH] 0-byte read()/write() behaviour |
| |
Hi!
> > I suspect SUS only talks about regular files. > > As I'm reading it, they're talking about every read() call, even those with > an invalid fd.
I'd say _they_ are broken in such case. read(invalid_fd, NULL, 0) should give error, not pretend success.
-- Philips Velo 1: 1"x4"x8", 300gram, 60, 12MB, 40bogomips, linux, mutt, details at http://atrey.karlin.mff.cuni.cz/~pavel/velo/index.html.
- 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/
|  |