musl/src/malloc
Rich Felker 26031da0f8 make malloc(0) return unique pointers rather than NULL
this change is made with some reluctance, but i think it's for the
best. correct programs must handle either behavior, so there is little
advantage to having malloc(0) return NULL. and i managed to actually
make the malloc code slightly smaller with this change.
2011-02-20 16:16:33 -05:00
..
__brk.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
__simple_malloc.c make malloc(0) return unique pointers rather than NULL 2011-02-20 16:16:33 -05:00
calloc.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
DESIGN initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
malloc.c make malloc(0) return unique pointers rather than NULL 2011-02-20 16:16:33 -05:00
memalign.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
posix_memalign.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00