Handwaving RFC: hypothetical recalloc() API

DJ Delorie dj@redhat.com
Mon May 4 18:01:52 GMT 2026


"H. Peter Anvin" <hpa@zytor.com> writes:
> int recalloc(void * restrict * restrict old, size_t alignment,
> 	     size_t * restrict n, size_t size);

I wonder, at what point does such an interface become esoteric enough
that it's better to implement something application-specific through
mmap() than try to showhorn everyone's requirements into a single
function...



More information about the Libc-alpha mailing list