style(9) sweep on config(8)
Matthew Dillon
dillon at apollo.backplane.com
Thu Mar 4 19:04:58 PST 2004
Using bzero() is just fine. In fact, I prefer it over both
calloc() and memset().
The reason why bzero() is still used by many people is simply
because it has a superior API to memset() for zeroing memory.
Many people get annoyed at having to specify the extra arg
in memset() just to zero memory and many people also hate
calloc() for the same reason (and the extra unnecessary multiply
that calloc() has to do).
-Matt
More information about the Submit
mailing list