shm_get keys...

Brian Myers <[email protected]> Sun, 29 May 2005 17:37:44 -0700
Newsgroups gmane.os.opendarwin.general
Message-ID <[email protected]>
Hello OpenDarwin users,

I'm writing an application that needs to use shared interprocess memory 
through bsddb. My question is, how do you set up the shared memory 
keys? I have ipcs installed, and I know shm_get keys work like TCP 
ports. Each key is setup and then accessed by applications that want to 
use the shared regions. I don't know how to setup the keys though and 
don't know where to look for the information. I read the man page, but 
it doesn't tell how to set up the shared keys.

Any help appreciated.

Thanx

Brian