|
Embedded Artistry Framework
Embedded Systems C++ Framework
|

Macros | |
| #define | MUL_NO_OVERFLOW (1UL << (sizeof(size_t) * 4)) |
Functions | |
| void * | calloc (size_t num, size_t size) |
| Allocates memory for an array of given number objects of size and initializes all bytes in the allocated storage to zero. More... | |
| #define MUL_NO_OVERFLOW (1UL << (sizeof(size_t) * 4)) |
Allocates memory for an array of given number objects of size and initializes all bytes in the allocated storage to zero.
Allocates memory for an array of num objects of size size and initializes all bytes in the allocated storage to zero.
| num | number of objects |
| size | size of the array |
References malloc(), memset(), MUL_NO_OVERFLOW, NULL, and SIZE_MAX.
Referenced by calloc_test(), and t_choose().

1.8.15