malloc() behavior (was: Pointer please)

Lucas Holt luke at foolishgames.com
Mon Oct 6 06:20:41 PDT 2003


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 at 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)



More information about the freebsd-questions mailing list