Re: poll() incompatability with POSIX.1-2001

Geoffrey Lee (glee@gnupilgrims.org)
Tue, 15 Oct 2002 21:53:54 +0800


> Hello, on what version did you try this? I've tried this now on
> Linux-2.4.18 and Linux-2.4.19 and both give the behaviour i described
> previously (No POLLOUT set).
>

Ah, you are indeed right. I had a typo in my test code (trailing semi
colon).

So POLLIN | POLLERR | POLLHUP flags are for the revents member.

-- G.

-
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/