Subject: Re: Implementation of asprintf()/vasprintf()
To: Matthias Buelow <mkb@mukappabeta.de>
From: Jaromír <jdolecek@netbsd.org>
List: tech-userlevel
Date: 09/30/2001 20:48:45
Matthias Buelow wrote:
> >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.
That's true. Go ahead with the *asprintf() change, then :)
Jaromir
--
Jaromir Dolecek <jdolecek@NetBSD.org> http://www.ics.muni.cz/~dolecek/
NetBSD - just plain best OS! -=*=- Got spare MCA cards or docs? Hand me them!