Check POLLERR|POLLHUP|POLLNVAL as well as declared bits.