[PATCH] eal: add asprintf() function for Windows

Thomas Monjalon thomas at monjalon.net
Thu Jun 12 02:41:05 CEST 2025


06/05/2025 03:43, Andre Muezerie:
> The asprintf function is not part of the C standard library but is a
> GNU extension commonly available in Unix-like systems. It dynamically
> allocates memory to store the formatted output string, similar to
> sprintf, but avoids buffer overflow issues by automatically sizing
> the buffer.
> 
> Instead of rewriting it or coming up with some other replacement, this
> patch makes use of the implementation provided by Neved4.

Why not using eal_asprintf()?




More information about the dev mailing list