From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: To: Linuxppc-embedded@ozlabs.org In-Reply-To: <7B7EF7F090B9804A830ACC82F2CDE95D56DCA7@insardxms01.ap.sony.com> Message-Id: From: Dale Farnsworth Date: Fri, 19 Sep 2008 07:53:29 -0700 Subject: Re: Regarding select() on PPC List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , > 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