09.01.2015 Views

Unix Shared Memory

Unix Shared Memory

Unix Shared Memory

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Keys: 1/2<br />

To use shared memory, include the following:<br />

#include <br />

#include <br />

#include <br />

A key is a value of type key_t. There are<br />

three ways to generate a key:<br />

Do it yourself<br />

Use function ftok()<br />

Ask the system to provide a private key.<br />

4

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!