Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Oct 2009 18:53:29 +0200 (CEST)
From:      Petr Salinger <Petr.Salinger@seznam.cz>
To:        brueffer@FreeBSD.org
Cc:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/126076: [headers] POLL_ERR and POLL_HUP are defined identically
Message-ID:  <Pine.LNX.4.62.0910211846260.2875@sci.felk.cvut.cz>
In-Reply-To: <200910211405.n9LE5Ooj005270@freefall.freebsd.org>
References:  <200910211405.n9LE5Ooj005270@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> According to kib this is intentional. POLL_ERR is not implemented,
> so it is simply mapped to POLL_HUP for now.

It would be much better to reserve new value for either
POLL_ERR or POLL_HUP just now.

The current situation does not conform to POSIX-2008, see
http://www.opengroup.org/onlinepubs/9699919799/basedefs/signal.h.html

Petr



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.62.0910211846260.2875>