X-Spam-Check-By: sourceware.org Date: Mon, 12 Mar 2007 11:25:15 -0400 (EDT) From: Igor Peshansky Reply-To: cygwin AT cygwin DOT com To: neo napster cc: cygwin AT cygwin DOT com Subject: Re: Smctl Method Returns Failure. In-Reply-To: <10626.55688.qm@web7612.mail.in.yahoo.com> Message-ID: References: <10626 DOT 55688 DOT qm AT web7612 DOT mail DOT in DOT yahoo DOT com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com . Thanks. On Mon, 12 Mar 2007, neo napster wrote: > We are making calls to Cygserver methods from our applications, the > below call we are doing: > > semctl (int semid, int semnum, int cmd). > > but the Cygserver is returning Failure from this method. When we kept > debugs in Cygserver we got the following message: > > -1 [22] = semctl () > > Can any one suggest on this.. As Corinna mentioned, error 22 == EINVAL, which is sometimes rendered as "Bad system call". For more details, see . HTH, Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com ZZZzz /,`.-'`' -. ;-;;,_ Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Freedom is just another word for "nothing left to lose"... -- Janis Joplin -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/