[EMAIL PROTECTED] wrote:
>>>> [EMAIL PROTECTED] wrote:
>>> *shmfd = shm_open(LOGSHMNAME, oflags, 0);
>> a shm name should contain one slash at the beginning and no
>> other slash,
>> for best portability.
>
> As I expected, reducing the number of slashes to one does not change the
> behavior.
I never said it would.
>
>> If you want to create a shared memory, you should pass the
>> O_CREAT flag.
>
> As mentioned above, an other process creates the shared memory.
Is it also linked with xenomai posix skin?
> What I still don“t understand is, what influence the wrapper defines have on
> linking.
> With wrappers : aplication works fine. Without wrappers : application does
> not work !?
I would say that with wrappers, you are in fact using the vanilla linux
shared memory, by passing __wrap_shm_open, you really use xenomai posix
skin services.
If that is the case, when using the wrapped version, you should see the
shared memory appear under /dev/shm.
--
Gilles.
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help