[Mesa-dev] [PATCH v3 1/3] util: introduce the util_strnappend function (v2)
Emil Velikov
emil.l.velikov at gmail.com
Mon Jan 14 18:13:50 UTC 2019
On 2019/01/11, Silvestrs Timofejevs wrote:
> This function is similar to strncat, but unlike strncat it allows to
> concatenate the buffer with a formatted string. The alternative would
> be to have an intermediate string that is formated first, and then
> appended via strncat.
>
Personally I'd go with the alternative solution. The user isn't a hot
path by any means, plus it does a reasonable amount of strncat already.
What do you think?
Emil
More information about the mesa-dev
mailing list