Date: Thu, 15 Jul 1999 14:42:34 +0800 (SGT) From: Vasudha Ramnath <vasu@krdl.org.sg> To: freebsd-questions@freebsd.org Subject: implementing poll() in a device driver Message-ID: <Pine.GSO.4.02.9907151423350.6055-100000@boderek> In-Reply-To: <F232EAD3304FD211BD3C00A0C99AFA9F014DB815@hermes.la.csiro.au>
next in thread | previous in thread | raw e-mail | index | archive | help
I'm running FreeBSD 3.1-RELEASE. Could someone explain what the poll() function in a device driver should do ? Can it return POLLERR or POLLHUP ? I have a test driver that returns these values from the poll() function. However, the application that called the select() is not getting an error. Instead, the select is returning that the particular file descriptor is, in this case, 'readable' ! Am I missing something ? Any insight appreciated. thank you --Vasudha To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.02.9907151423350.6055-100000>
