| Home
| Previous
| Next
| Up

PM_malloc

Allocate a block of memory.

Declaration

void * PMAPI PM_malloc(
size_t size)

Prototype In

pmapi.h

Parameters

size | Size of block to allocate in bytes

Return Value

Pointer to allocated block, or NULL if out of memory.

Description

Allocates a block of memory of length size. If you have changed the memory allocation routines with the PM_useLocalMalloc function, then calls to this function will actually make calls to the local memory allocation routines that you have registered.

See Also

PM_calloc, PM_realloc, PM_free, PM_useLocalMalloc

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