summaryrefslogtreecommitdiff
path: root/libc/stdlib
AgeCommit message (Expand)Author
2002-09-09(realloc): Record the correct size in the malloc header in the caseMiles Bader
2002-09-06Add #include <malloc.h> to silence warning.Manuel Novoa III
2002-09-06Initial checkin.Miles Bader
2002-09-06Update debugging hooks.Miles Bader
2002-09-05split-out memalign and reallocEric Andersen
2002-09-04Make sjhill happy, and revive memalignEric Andersen
2002-09-04Per discussions with Erik, 'valloc.c' should be built on top of whichever"Steven J. Hill"
2002-09-04Added 'valloc' back in. Ok, Erik can smack me now."Steven J. Hill"
2002-09-04Added function 'mkdtemp' for Linux Test Project."Steven J. Hill"
2002-09-04(free):Miles Bader
2002-09-04(__heap_delete): Renamed from `__heap_unlink_free_area'.Miles Bader
2002-08-30Doc fix.Miles Bader
2002-08-30(__heap_free): Tighten up the inner loop, and make the code more readable.Miles Bader
2002-08-30Use `likely' & `unlikely' instead of the `__malloc_'-prefixed versions.Miles Bader
2002-08-30(likely, unlikely): New macros.Miles Bader
2002-08-30(likely, unlikely): New macros.Miles Bader
2002-08-25Kill the HAS_LONG_LONG option. It really did not make a lot ofEric Andersen
2002-08-19Eliminate wrapping of struct stat and use the kernel versionEric Andersen
2002-08-19(CSRC): Make contents source files, not object files.Miles Bader
2002-08-19(CSRC): Add `memalign.c'.Miles Bader
2002-08-19Initial checkin.Miles Bader
2002-08-19(realloc): Follow new arg conventions of MALLOC_SET_SIZE.Miles Bader
2002-08-19(malloc): Use MALLOC_SETUP.Miles Bader
2002-08-19(MALLOC_SETUP): New macro.Miles Bader
2002-08-15Patch from Jarkko to fix drand48 to not use long long whenEric Andersen
2002-08-14Use __malloc_unlikely instead of `likely'.Miles Bader
2002-08-14Add flow-control hints with __malloc_likely and __malloc_unlikely.Miles Bader
2002-08-14(__malloc_likely, __malloc_unlikely): New macros.Miles Bader
2002-08-14Handle zero NEW_SIZE case.Miles Bader
2002-08-13Use `return' for null pointers, to avoid a giant block holding the restMiles Bader
2002-08-12Doh! missed a spot.Eric Andersen
2002-08-12Revert commit by davidm to printf.c that initialized conv_numManuel Novoa III
2002-08-12Geez I'm an idiot some times. I shouldn't code when I'm exhausted.Eric Andersen
2002-08-09Add missing thread-safe locking.Eric Andersen
2002-08-08Fix lockingEric Andersen
2002-08-08Cleanup some silly warningsEric Andersen
2002-08-07Changed my mind. Keep this separate.Eric Andersen
2002-08-07Rewrite getenvEric Andersen
2002-08-07Per suggestion from Miles Bader, move calloc.c to libc/stdlib.Eric Andersen
2002-08-06Unify calloc (its the same thing regardless of the underlyingEric Andersen
2002-08-01Use MALLOC_REALLOC_MIN_FREE_SIZE.Miles Bader
2002-08-01(MALLOC_REALLOC_MIN_FREE_SIZE): New macro.Miles Bader
2002-08-01(HEAP_MIN_SIZE): New macro.Miles Bader
2002-07-31In the allocate-and-copy case, don't include the malloc header in ourMiles Bader
2002-07-31Update debugging printfs.Miles Bader
2002-07-31Per discussion on the mailing list, simply vfork -> fork mapping to only applyEric Andersen
2002-07-31Account for MALLOC_HEADER_SIZE when calculating new size.Miles Bader
2002-07-31Use MALLOC_HEADER_SIZE.Miles Bader
2002-07-31(MALLOC_HEADER_SIZE): New macro.Miles Bader
2002-07-30Make sure NEW_SIZE is a multiple of HEAP_GRANULARITY.Miles Bader