[Info-vax] calloc fails with access violation

chrisj.doran at proemail.co.uk chrisj.doran at proemail.co.uk
Tue Aug 25 06:17:08 EDT 2009


On 25 Aug, 02:00, "Richard Maher" <maher... at hotspamnotmail.com> wrote:
> PS. is calloc "cancel alloc" or "character alloc"?

"Cleared alloc" -- it sets the allocated memory to all zeroes. This
probably isn't necessary in the OP's case, since, at least in the
places I've looked at, he's immediately copying something in and
malloc would do. But the slight time-wasting is the least of his
worries at present.

Chris



More information about the Info-vax mailing list