summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/calloc.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* MFC (deraadt):miod2002-07-311-2/+2
| | | | permit calloc(0, N) and calloc(N, 0) -- malloc(0) does the right thing
* MFC (deraadt):miod2002-07-301-1/+7
| | | | | return failure if integer overflow happens. sigh; too people had to help get this right.
* calloc() needs to be separate from malloc in case a user wants to havemillert1999-11-101-0/+53
| | | | their own malloc() implementation.
* Move calloc() into malloc.c and only zero out the area if malloc()millert1999-11-091-53/+0
| | | | | | didn't do so for us. By default, malloc() zeros out the space it allocates but the programmer cannot rely on this as it is implementation- specific (and configurable via /etc/malloc.conf)
* Cleaner.downsj1996-08-201-2/+3
|
* Fix RCS idstholo1996-08-191-2/+1
| | | | Make sure everything uses {SYS,}LIBC_SCCS properly
* initial import of NetBSD treederaadt1995-10-181-0/+53