PR_DetachSharedMemory

Unmaps a shared memory segment identified by name.

Syntax

#include <prshm.h>
NSPR_API( PRStatus )
  PR_DetachSharedMemory(
     PRSharedMemory *shm,
     void  *addr
);

Parameters

The function has these parameters:

shm
The handle returned from PR_OpenSharedMemory.
addr
The address to which the shared memory segment is mapped.

Returns

PRStatus.

Document Tags and Contributors

 Contributors to this page: teoli, alecananian
 Last updated by: teoli,