summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib/reallocf.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix the style of the SCM ID's.David E. O'Brien2002-03-221-2/+4
| | | | | | | I believe have made all of libc .c's as consistent as possible. Notes: svn path=/head/; revision=92986
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50476
* Fix style problems noted by Bruce:Warner Losh1998-09-161-5/+32
| | | | | | | | | o No copyright on reallocf. o Order makefile list correctly. o indent reallocf properly. Notes: svn path=/head/; revision=39322
* Add reallocf to the library. This function is simliar to realloc, butWarner Losh1998-09-141-0/+12
when it returns NULL to indicate failure, it will also free the memory that was passed to it, if that was non-null. This does not change the semantics of realloc. A second commit will be done to commit the conversion of those places in the code that can safely use this to avoid memory leaks when confronted with low memory situations. Beaten-to-death-but-finally-approved-in: -current Notes: svn path=/head/; revision=39191