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: cygserver shmat


On Aug 12 11:23, bertrand marquis wrote:
> Hello,
> 
> 	i'm trying to use shmat specifying an address but each time i got the
> error: "invalid argument".
> in fact i need to map something just next to something previously mapped
> without argument.
> is this a limitation of cygserver ?

What address are you trying?  Keep in mind that the address must be
a multiple of SHMLBA, except you're using the SHM_RND flag.  See
http://www.opengroup.org/onlinepubs/009695399/functions/shmat.html

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Co-Project Leader          mailto:cygwin@cygwin.com
Red Hat, Inc.

--
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]