On Sun, Dec 29, at 10:19 Bruno Haible wrote: > Aga wrote: > > - the returned value of the *printf family of functions dictates their > > limits/range, as they return an int, this can be as INT_MAX mostly > > Yes, we need new implementations of the *asprintf functions that are not > limited to returning strings of maximum length INT_MAX.
There is also the question how current functions behave with buffers over INT_MAX. And what to do with such large buffers if stdio can not handle them reliably. And what POSIX says about this if says at all?