Mozilla.com

  1. MDC
  2. Main Page
  3. PR_DetachSharedMemory
Table of contents
  1. 1. Syntax
  2. 2. Parameters
  3. 3. Returns

PR_DetachSharedMemory

Table of contents
  1. 1. Syntax
  2. 2. Parameters
  3. 3. Returns

< NSPR API Reference < Named Shared Memory

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.

Page last modified 03:27, 4 Mar 2006 by Rappo

Files (0)