delorie.com/archives/browse.cgi | search |
On Aug 12 12:13, bertrand marquis wrote: > In fact i wasn't using the SHM_RNd flag. > > In details here is what i do: > > - get a shared segment of with size= SIZE (SIZE multiple of SHMLBA) > - attach the segment without specifying address and storing the result > in beginaddress > - attach the segment again specifying the address: endposition= > beginaddress + SIZE > > without SHM_RND in the second shmat i've got the error : invalid > argument > > now that i specifie SHM_RND in the flag i have the error: value to large > for defined type .... > > any idea ? Nope. Not without knowing the actual values. An strace output of the affected calls would be good. Even better, create a simple testcase which allows to reproduce the behaviour. Just the minimum of necessary code. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Co-Project Leader mailto:cygwin AT cygwin DOT 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |