Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Oct 2003 09:20:33 -0400
From:      Lucas Holt <luke@foolishgames.com>
To:        James Jacobsen <james_jacobsen@lycos.co.uk>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: malloc() behavior (was: Pointer please)
Message-ID:  <DD40D025-F7FF-11D7-A7EF-0030656DD690@foolishgames.com>
In-Reply-To: <20031006053813.GE22536@res241015.resnet.wsu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
man calloc:

  The calloc() function allocates space for number objects, each size 
bytes
      in length.  The result is identical to calling malloc() with an 
argument
      of ``number * size'', with the exception that the allocated memory 
is
      explicitly initialized to zero bytes.


Lucas Holt
Luke@FoolishGames.com
________________________________________________________
FoolishGames.com  (Jewel Fan Site)
JustJournal.com (Free blogging)

"Only two things are infinite, the universe and human stupidity, and 
I'm not sure about the former."
- Albert Einstein (1879-1955)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DD40D025-F7FF-11D7-A7EF-0030656DD690>