char *dal_mem_rca (ptr, cnt, siz)

Changes the size of the allocated memory corresponding to the specified size and number of data packets and fills the last block with zeros (corresponds to C function realloc and calloc).

Input Parameters Significance
char *ptr start pointer to the present memory space
int cnt number the data packets
int siz size (in byte) of a data packet

Output Parameters Significance
none -

Return Code Significance
value pointer to the position after modifying via (cnt * siz)
0 no new memory space allocated

no remarks