Next | Prev | Up | Top | Contents | Index

Mapping a File for Shared Memory

You can use mmap() simply to create a segment of memory that can be shared among unrelated processes:

Tip: The usinit() function is a more convenient and general way of creating a shared arena. It is based on mmap() but adds other services--see "Allocating in a Shared Arena". You can also create a shared segment of memory using SVR4-compatible shared memory functions; see "System V Shared Memory".


Next | Prev | Up | Top | Contents | Index