On 2018/11/20, Eric Engestrom wrote: > static inline void > PRINTFLIKE(2, 3) > util_sprintf(char *str, const char *format, ...)
The docs [1] seem pretty clear that: a) overlap results in undefined behaviour, and b) the function returns the correct value HTH Emil [1] https://docs.microsoft.com/en-gb/cpp/c-runtime-library/reference/sprintf-sprintf-l-swprintf-swprintf-l-swprintf-l?view=vs-2017 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev