appending last argument to (wrap(ed)) variadic function call
Alexandre François Garreau
galex-713@galex-713.eu
Tue Feb 25 04:33:00 GMT 2020
Le lundi 24 février 2020, 13:49:51 CET Florian Weimer a écrit :
> The easiest way to achieve what you want is to supply a fix hint to the
> actual implementation, which then applies the change at the right point
> during the va_list iteration.
Yes but I am to call vasprintf or vsscanf… so I will need to pass a
va_list anyway, and it will not be me who will call va_arg… and I don’t
know the parameters number in advance…
Does that mean that I should either fix the number of parameters (so
abandon variadicity) or reimplement vsscanf myself?
More information about the Libc-help
mailing list