Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to do load data in "Shared Memory"?

Status
Not open for further replies.

fabien

Technical User
Sep 25, 2001
299
AU
Hi!


How can data be loaded into shared memory, are there special functions to use?

Thanks!
 
fabien,

Use shmget() to create a shared memory segment.

Use shmat() to get a pointer to the shared memory segment.

The details are in the man pages.

Mark
 
Thanks a lot!
Do you know where I can find simple examples somewhere on the net?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top