using shmget() in c++

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Talihomz
    New Member
    • Jan 2008
    • 11

    using shmget() in c++

    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
    Recognized Expert Expert
    • Feb 2006
    • 9067

    #2
    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.

    Comment

    • mac11
      Contributor
      • Apr 2007
      • 256

      #3
      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.

      Comment

      Working...