lkml.org 
[lkml]   [2004]   [Apr]   [3]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
FromRichard Kettlewell <>
SubjectRe: Is POLLHUP an input-only or bidirectional condition?
DateSat, 03 Apr 2004 13:19:30 +0100
Jamie Lokier <jamie@shareable.org> 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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:02    [from the cache]
©2003-2008