Re: select() - Linux vs. BSD

From: dean gaudet (dean-list-linux-kernel@arctic.org)
Date: Tue May 29 2001 - 16:06:36 EST


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/



This archive was generated by hypermail 2b29 : Thu May 31 2001 - 21:00:41 EST