PM_mallocShared

Allocate a block of system global shared memory

Declaration

void * PMAPI PM_mallocShared(
long size)

Prototype In

pmapi.h

Parameters

size | Size of the shared memory block to allocate

Return Value

Pointer to the shared memory block, NULL on failure.

Description

This function is used to allocate a block of shared memory, such that the linear address returned for this shared memory is identical for all processes in the system. If this cannot be provided, this function will return NULL.

See Also

PM_freeShared

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com