[dpdk-dev] [PATCH v4 2/4] eal: add asprintf() internal wrapper

Lance Richardson lance.richardson at broadcom.com
Sat Mar 6 16:27:15 CET 2021


On Fri, Mar 5, 2021 at 7:05 PM Dmitry Kozlyuk <dmitry.kozliuk at gmail.com> wrote:
>
> POSIX asprintf() is unavailable on Windows.

AFAIK asprintf() is not a POSIX API, it is a GNU extension that has
also been implemented in some BSDs.

> Add eal_asprintf() wrapper for EAL internal use.
> On Windows it's a function, on Unix it's a macro for asprintf().
>
> Signed-off-by: Dmitry Kozlyuk <dmitry.kozliuk at gmail.com>
> Acked-by: Khoa To <khot at microsoft.com>
> ---


More information about the dev mailing list