C - How do you use shmget()?
I've found some information on shmget() but all that I've found is written in a way that I'm having trouble understanding. Can anyone explain how to use it in a fairly simplistic way and give an example? Thanks a bunch!
|
|
Great that did help. Now I"m using something along the lines of:
Code:
shared_bookmarks = shmget(Book_Key, MAX_BOOKMARKS * sizeof(bookmarks), (0644 | IPC_CREAT)); Thanks again! |
All times are GMT -5. The time now is 05:57 PM. |