Patch for a bug in server/select.c

Alexandre Julliard julliard at
Fri May 18 16:10:51 CDT 2001

Bang Jun-Young <bjy at> writes:

> According to the manpage, NetBSD implementation of poll(2) is different
> from historical one in that a given fd may not cause poll to return with
> an error. I'm not sure if this is the case, however. 

I'm not sure I understand what they mean in the manpage. Could you
write a small test program to determine the exact behavior WRT invalid
fds?  Particularly interesting would be to determine if poll actually
sleeps waiting for something, or if it returns POLLNVAL at once.

Alexandre Julliard
julliard at

More information about the wine-devel mailing list