Subject: Re: Implementation of asprintf()/vasprintf()
To: Jarom r <jdolecek@netbsd.org>
From: Matthias Buelow <mkb@mukappabeta.de>
List: tech-userlevel
Date: 09/30/2001 18:03:05
"Jarom r" Dolecek <jdolecek@netbsd.org> writes:

>Yes, I suppose that would be okay. Though I wonder if realloc(3)
>ever fails if the result is smaller than the original.

but that's an implementation-specific property of realloc() that
lies outside the domain of *asprintf() and hence must not be relied
on.

--mkb