Re: select() - Linux vs. BSD

dean gaudet (dean-list-linux-kernel@arctic.org)
Tue, 29 May 2001 14:06:36 -0700 (PDT)


On Tue, 29 May 2001, John Chris Wren wrote:

> In BSD, select() states that when a time out occurs, the bits passed to
> select will not be altered.

from the single unix standard:

On failure, the objects pointed to by the readfds, writefds,
and errorfds arguments are not modified. If the timeout interval
expires without the specified condition being true for any of
the specified file descriptors, the objects pointed to by the
readfds, writefds, and errorfds arguments have all bits set to 0.

> Should the man pages be changed to reflect reality, or select() fixed to
> act like BSD?

sounds like a man page bug.

-dean

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/