Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - sys/shm.h not included?: (3 Items)
   
sys/shm.h not included?  
One of my .c files needs to use the shared memory library but it seems like use/include/sys does not have the shm.h. 
Does QNX have the library in some other location or does QNX have some other shared memory library? 
Re: sys/shm.h not included?  
I am not sure what exactly you want to do with shared memories. But have you tried sys/mman.h? This file has memory 
management related declarations. See if this helps you.

Sunil
RE: sys/shm.h not included?  
The posix shm_open() and friends are in sys/mman.h.
Alternatively you can look at the s5ipc package from
pkgsrc which provides some of the systemV sys/shm.h
functionality.

http://community.qnx.com/sf/projects/pkgsrc

Regards,

-seanb

-----Original Message-----
From: Andrew Kingston [mailto:community-noreply@qnx.com]
Sent: Sat 8/21/2010 1:53 PM
To: momentics-community
Subject: sys/shm.h not included?
 
One of my .c files needs to use the shared memory library but it seems like use/include/sys does not have the shm.h. 
Does QNX have the library in some other location or does QNX have some other shared memory library? 



_______________________________________________

QNX Momentics Community Support
http://community.qnx.com/sf/go/post63858


Attachment: Text winmail.dat 2.64 KB