Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
SUSv3 requires that POSIX shared memory objects have at least kernel persistence; that is, they continue to exist until they are explicitly removed or the system is rebooted. When a shared memory object is no longer required, it should be removed using shm_unlink().
#include <sys/mman.h>
int shm_unlink(const char *name);