| delorie.com/archives/browse.cgi | search |
| X-Spam-Check-By: | sourceware.org |
| Date: | Mon, 12 Mar 2007 11:25:15 -0400 (EDT) |
| From: | Igor Peshansky <pechtcha AT cs DOT nyu DOT edu> |
| Reply-To: | cygwin AT cygwin DOT com |
| To: | neo napster <neo_realnapster AT yahoo DOT co DOT in> |
| 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: | <Pine.GSO.4.63.0703121123560.22868@access1.cims.nyu.edu> |
| References: | <10626 DOT 55688 DOT qm AT web7612 DOT mail DOT in DOT yahoo DOT com> |
| MIME-Version: | 1.0 |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
<http://cygwin.com/acronyms/#PCYMTWLL>. 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
<http://cygwin.com/faq/faq.programming.html#faq.programming.ipc>.
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |