Date: Sat, 25 Mar 2006 08:46:36 +0100 From: "Poul-Henning Kamp" <phk@phk.freebsd.dk> To: Jason Evans <jasone@FreeBSD.org> Cc: freebsd-arch@FreeBSD.org Subject: Re: Proposed addition of malloc_size_np() Message-ID: <62732.1143272796@critter.freebsd.dk> In-Reply-To: Your message of "Fri, 24 Mar 2006 15:17:05 PST." <44247DF1.8000002@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <44247DF1.8000002@FreeBSD.org>, Jason Evans writes: >=== Proposal === >Add malloc_size_np() to libc, and provide the prototype in malloc_np.h: > > size_t > malloc_size_np(const void *ptr); I'm for the concept, but wonder if it would be smarter to make it void * malloc_np(size_t, size_t *) so we can do it in one go ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?62732.1143272796>