Connecting Tech Pros Worldwide Forums | Help | Site Map

using shmget() in c++

Talihomz's Avatar
Newbie
 
Join Date: Jan 2008
Location: Nairobi, Kenya
Posts: 11
#1: 3 Weeks Ago
hey guys,i im looking for a way to use the shmget() and all other shared memory functions but i do not have the necessary header files.
what should i do??

Banfa's Avatar
AdministratorVoR
 
Join Date: Feb 2006
Location: South West UK
Posts: 6,206
#2: 3 Weeks Ago

re: using shmget() in c++


shmget() is not a standard C or C++ function, perhaps you should check the documentation for the 3rd party library you must be using to use this function.
Familiar Sight
 
Join Date: Apr 2007
Posts: 191
#3: 3 Weeks Ago

re: using shmget() in c++


If you need general instruction on how to use shared memory I have a book "POSIX.4 Programmers Guide Programming for the Real World" which is very helpful.

If your system is Windows I don't know anything about shared memory on it. For linux or the like you can use the command 'man shmget'.

I'm just throwing out ideas since I'm not sure about your exact issue. What's your development environment? Maybe post some code?

you can also google, there are some good shared memory tutorials around.
Reply

Tags
shared memory, shmget