memset() vs. bzero() — Ultimate Showdown
There are a few functions used to zero out memory on most unix variants.
calloc() are all a few such functions.
calloc() isn’t very useful for clearing already allocated memory, so it won’t be appearing much more in this article. However, the other two are somewhat more interesting than meets the eye.