diff options
author | zlg <zlg@zlg.space> | 2022-01-23 17:59:56 -0800 |
---|---|---|
committer | zlg <zlg@zlg.space> | 2022-01-23 17:59:56 -0800 |
commit | 2bbb384783f667226e117e62992779498bc7e5b8 (patch) | |
tree | d13a69cd36de9c22fd54435b4964002f6ba50f53 /ch2 | |
parent | Solve Exercise 8-05: fsize extended (diff) | |
download | knr-2bbb384783f667226e117e62992779498bc7e5b8.tar.gz knr-2bbb384783f667226e117e62992779498bc7e5b8.tar.bz2 knr-2bbb384783f667226e117e62992779498bc7e5b8.tar.xz knr-2bbb384783f667226e117e62992779498bc7e5b8.zip |
Solve Exercise 8-6: calloc()
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.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions