Tom Hughes wrote: > In message <[EMAIL PROTECTED]> > Leopold Toetsch (via RT) <[EMAIL PROTECTED]> wrote:
> It's probably best to do whatever C99 does, which I think is the same > as what glibc does, namely to return the amount of space that would be > needed to avoid truncation if the result is truncated. Yep, exactly this, giving the caller a chance, to allocate more space and retry. > Tom leo