aboutsummaryrefslogtreecommitdiff
path: root/ch3
diff options
context:
space:
mode:
authorzlg <zlg@zlg.space>2022-01-23 17:59:56 -0800
committerzlg <zlg@zlg.space>2022-01-23 17:59:56 -0800
commit2bbb384783f667226e117e62992779498bc7e5b8 (patch)
treed13a69cd36de9c22fd54435b4964002f6ba50f53 /ch3
parentSolve Exercise 8-05: fsize extended (diff)
downloadknr-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