On Wed, 01 Apr 2020 13:53:53 +0200, Claudio Jeker wrote: > I think this is actually a feature. The standard does not mention that you > have to listen on something and it would allow to use select() as a > sleep() replacement. I would expect that pselect() should behave the same > way.
I agree that this is a feature. POSIX also specifies EINVAL if nfds is larger than FD_SETSIZE but we support arrays of fd_set larger than FD_SETSIZE so that is not an error in our implementation. - todd