vec_malloc()

Allocates memory on a 16 byte alignment.

  #include <stdlib.h>
  
  void *vec_malloc(size_t size);    
Parameter

size

The size, in characters, of the allocation.

Remarks

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

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.

This function is not specified in the ISO/IEC standards. It is an extension of the standard library.