> malloc(3) > calloc() allocates memory for an array of nmemb elements > of size bytes each and returns a pointer to the allocated > memory. The memory is set to zero. > > Calloc initializes all the bits to zero.. which on every architecture I've > ever used means that the value of an integer in that memory block will be > zero. <snipped>
-whaps self on head- My bad, thank you for the reminder of the difference twixt malloc and calloc, I had forgotten in my haste to reply :) I do agree with Edwin's point as well, blame the coders(learning), not the design(dated) hopefully somewhere along the line of this thread the original question got answered :) -goes back to lurking in wait- Steve, about to head home from work to get ready for a friends wedding.

