Date: Sat, 7 Nov 2009 15:40:02 GMT From: Jilles Tjoelker <jilles@stack.nl> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/126076: [headers] POLL_ERR and POLL_HUP are defined identically Message-ID: <200911071540.nA7Fe2dq059125@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/126076; it has been noted by GNATS. From: Jilles Tjoelker <jilles@stack.nl> To: bug-followup@FreeBSD.org, Petr.Salinger@seznam.cz Cc: Subject: Re: kern/126076: [headers] POLL_ERR and POLL_HUP are defined identically Date: Sat, 7 Nov 2009 16:34:45 +0100 To be honest, I do not know why the POLL_* constants are defined at all. The kernel never generates SIGPOLL, and it is an obsolescent feature in POSIX. Their main effect seems that someone can use POLL_IN instead of POLLIN and have a hard time debugging. How are you using these constants? :) -- Jilles Tjoelker
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911071540.nA7Fe2dq059125>