Table of Contents
AttachShMem - attach a shared memory partition
AttachShMemIPC
attaches a shared memory partition to a program.
This function is part of
tblmngr.
int AttachShMemIPC(
char **MTpnt,
int Memid,
char *addr,
int ROflag,
int quiet_flag
);
Pointer to the MASTER_SIZE record which contains the table
size information.
The shared memory id returned by the call to
CreateShMem(3tbl)
.
The address to attach at.
If this value is non zero then attach
the partition read only.
If this value is non zero then suppress
error messages from the function.
0 - success
2 - attach failure
There is another function
AttachShMemMMAP() 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() calls rather then
SysV IPC calls.
tblmngr(3tbl)
$Id: AttachShMem.3,v
1.2 2005/06/17 14:42:24 kitchen Exp $
Table of Contents