[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]


vec_malloc

Allocates memory on a 16 bit alignment.

Compatibility:

This function is compatible with the following targets:

ANSI
BeOS
EMB/RTOS
Mac OS
Palm OS
Win32

Altivec

Prototype:
void *	vec_malloc(size_t size);
Parameters:

Parameters for this facility are:

size  
size_t  
The size in bytes of the allocation  

Remarks:

The vec_malloc() function allocates a block of contiguous heap memory size bytes large.

Return:

vec_malloc() returns a pointer to the first byte of the allocated block if it is successful and return a null pointer if it fails.

See Also:

"malloc"

"vec_free"

"vec_calloc"

"vec_realloc"


[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]

Visit the Metrowerks website at: http://www.metrowerks.com
For assistance contact Metrowerks Technical Support at: cw_support@metrowerks.com
Copyright © 2000, Metrowerks Corp. All rights reserved.

Last updated: August 16, 2000