mco_sys_malloc

The wrapper for C function malloc() or its equivalent in the given system - allocate heap memory.

For an overview see page eXtremeDB System Wrappers

Prototype

    void * mco_sys_malloc(    /*IN*/ mco_size_t n_bytes );

Arguments

n_bytes
The number of bytes to allocate.

Description

This function allocates a properly aligned block of memory. It is a wrapper for the standard C function malloc() or its equivalent in the given system.

Return Codes

void *
A pointer to the allocated memory block.

Files

Header file:
mco.h
Source file:
mcosalhollow.c
Library:
libmcosalhollow.a
Header file:
mco.h
Source file:
mcosysmem.c
Library:
libmcosalmem.a