Re: implementing poll() in a device driver (fwd)

1999-07-18 Thread Vasudha Ramnath
> > > > 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' ! > > Take a look at "se

Re: implementing poll() in a device driver (fwd)

1999-07-18 Thread Vasudha Ramnath
> > > > 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' ! > > Take a look at "s

Re: implementing poll() in a device driver (fwd)

1999-07-16 Thread Arun Sharma
Vasudha Ramnath writes: > > 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 > tha

Re: implementing poll() in a device driver (fwd)

1999-07-15 Thread Arun Sharma
Vasudha Ramnath <[EMAIL PROTECTED]> writes: > > 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, t