Regarding select() on PPC

Dale Farnsworth dale at farnsworth.org
Sat Sep 20 00:53:29 EST 2008


> For negetive value of n (first argument to select) select fails with
> EINVAL error,
> 
> But for the same when I tested for PowerPC it was giving EFAULT, 
> Its on 2.6.16 kernel.
> 
> Please let me know, If this is fixed or it's a issue in PPC.
> For other archs its working fine.

Interesting.  The man page for select says that select should return
EINVAL when the first argument is negative.  By that, only ppc32 is
correct.  :)

-Dale


More information about the Linuxppc-embedded mailing list