man3tbl/CloseShMem

Table of Contents

Name

CloseShMem - close shared memory partititon

Description

CloseShMemIPC closes a previously opened shared memory partition.

This function is part of tblmngr.

Syntax

int CloseShMemIPC(
   int MemId

   );

Arguments

MemId

The shared memory id returned by the call to CreateShMem(3tbl) .

Returns

The error code from the shmctl(2) call.

Notes

There is another function CloseMemMMAP() which is listed in the header file but is not in use. This function may be used in the future for shared memory management using mmap() related calls rather then SysV IPC calls.

See Also

tblmngr(3tbl)

Manual page revision

$Id: CloseShMem.3,v 1.2 2002/04/07 19:37:39 kitchen Exp $


Table of Contents