SYNOPSIS
#include <stdlib.h>
void *calloc(size_t nelem, size_t elsize);
DESCRIPTION
The
PARAMETERS
- nelem
-
Is the number of elements. If nelem is zero (0), a unique pointer to the heap is returned.
- elsize
-
Is the size of each element. If elsize is zero (0), a unique pointer to the heap is returned.
RETURN VALUES
If successful,
CONFORMANCE
ANSI/ISO 9899-1990.
MULTITHREAD SAFETY LEVEL
MT-Safe.
PORTING ISSUES
The
Unlike many UNIX platforms, the heap that is used by
AVAILABILITY
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
SEE ALSO
- Functions:
free() ,malloc() ,memalign() ,realloc() ,valloc()
PTC MKS Toolkit 10.4 Documentation Build 39.