man3tbl/GetShMemId

Table of Contents

Name

GetShMemId - create a shared memory partition

Description

GetShMemIdIPC uses the key to find the shared memory segment identifier. The identifier is returned on success else -1 is returned.

This function is part of tblmngr.

Syntax

int GetShMemIdIPC(
   int key

   );

Arguments

key

the shared memory key.

Returns


>=0 - the memory identifier
-1 - failure

Notes

The corresponding MMAP() function isn’t implemented.

See Also

tblmngr(3tbl)

Manual page revision

$Id: GetShMemId.3,v 1.0 2004/04/14 14:25:07 kitchen Exp $


Table of Contents