aboutsummaryrefslogtreecommitdiff
path: root/ch8/8-06_calloc.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2022-01-23Solve Exercise 8-6: calloc()zlg1-0/+136
I chose to implement calloc() by calling malloc. This exercise went well, but I found it difficult to verify the contents of the headers and buffers within memory. Valgrind showed the correct number of bytes allocated, and a memory dump pointed to a good result, but research was not conclusive.
>/+60