FREE

D'Arcy J.M. Cain darcy at druid.uucp
Fri Mar 2 01:08:29 AEST 1990


In article <16055 at haddock.ima.isc.com> karl at haddock.ima.isc.com (Karl Heuer) writes:
>In article <1990Feb27.155133.20341 at druid.uucp> darcy at druid.UUCP (D'Arcy J.M. Cain) writes:
>>calloc does what you want and even initialize the space to zeroes for you.
>
>The calloc() function is disrecommended.  Generally speaking, you should use
>malloc() and initialize the contents yourself.
>
I've heard that before but not the reason.  So why is it disrecommended?

-- 
D'Arcy J.M. Cain (darcy at druid)     |   Thank goodness we don't get all 
D'Arcy Cain Consulting             |   the government we pay for.
West Hill, Ontario, Canada         |
(416) 281-6094                     |



More information about the Comp.lang.c mailing list