MCPcopy Create free account
hub / github.com/TheAlgorithms/C / calloc_dbg

Function calloc_dbg

developer_tools/malloc_dbg.c:174–198  ·  view source on GitHub ↗

* @brief calloc_dbg function is a wrapper around the calloc function. * @details This function calls calloc and allocates the number of bytes passed in the parameters. * If the allocation succeeds then it add the pointer returned by malloc in the mem_info list. * @param elementCount number of element to allocate * @param elementSize Size of each element * @param line Line number in the c

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

addMemInfoFunction · 0.85

Tested by

no test coverage detected