mco_sys_calloc

The wrapper for C function calloc() or its equivalent in the given system - allocate an array of memory blocks.

For an overview see page eXtremeDB System Wrappers

Prototype

    void * mco_sys_calloc(    /*IN*/ uint4 n,
               /*IN*/ mco_size_t size );

Arguments

n
The number of memory blocks to allocate.
size
The size of each memory block.

Description

This function allocates an array of memory blocks each of size bytes and the space is initialized to 0. It resembles the standard C function calloc() or its equivalent in the given system.

Return Codes

void *
A pointer to the allocated memory blocks.

Files

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