42sh 1.0.0
Create a shell in C
|
The file containing the my_calloc function. More...
#include "mymemory.h"
Functions | |
void * | my_calloc (size_t element_count, size_t element_size, int type) |
Allocates memory for an array of elements (element_count) of bytes (element_size) each and initializes the memory to zero. | |
The file containing the my_calloc function.
void * my_calloc | ( | size_t | element_count, |
size_t | element_size, | ||
int | type ) |
Allocates memory for an array of elements (element_count) of bytes (element_size) each and initializes the memory to zero.
element_count | The number of elements |
element_size | The size of each element |
type | The type of the usage |