Re: Is POLLHUP an input-only or bidirectional condition?
From: Richard Kettlewell
Date: Sat Apr 03 2004 - 07:21:32 EST
Jamie Lokier <jamie@xxxxxxxxxxxxx> writes:
> Perhaps that indicates some confusion over what POLLHUP is supposed to
> mean, and when it should be set by devices and/or sockets: is it for
> input hangup conditions that allow further output, or for total hangup
> conditions where input and output are both guaranteed to fail?
I spent some time a while ago looking into how various platforms treat
POLLHUP. It's rather random...
http://www.greenend.org.uk/rjk/2001/06/poll.html
--
http://www.greenend.org.uk/rjk/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/