KMD_Shmem
KMD_Shmem
kmd
1998 12-06
CLASS
KMD_Shmem - A keymaster supported shared memory object
SYNOPSIS
This is a shared memory object which uses SYS V shared memory on UNIX and
the WIN32 shared memory facility on Windows NT.
PARENTS
CONSTRUCTOR
KMD_Shmem(int in_size)
Call KMD_Shmem(int in_size, KMD_Ident *out_key) with a dummy KMD_Ident.
KMD_Shmem(int in_size, KMD_Ident *out_key)
Create a new KMD_Shmem resource of size in_size.
KMD_Shmem(KMD_Ident in_key)
Use an existing KMD_Shmem as identified by in_key.
MEMBER FUNCTIONS
char *Attach(char *shmaddr, int flag = 1)
Attach the shared memory with the hint address of shmaddr. The actual
attached address is returned.
uint32 Detach()
detach the shared memory segment.