"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