This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Smctl Method Returns Failure.


<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@cs.nyu.edu | igor@watson.ibm.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]