shm_attach

shm_attach -- Creates or open a shared memory

Description

int shm_attach(long key, long memsize, long perm);

Creates or open a shared memory with the given key and memsize.