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

Stephen Hemminger stephen at networkplumber.org
Tue May 20 19:14:33 CEST 2025


On Mon,  5 May 2025 13:40:07 -0700
Andre Muezerie <andremue at linux.microsoft.com> wrote:

> Existing DPDK code uses getline(), which is a POSIX function and is
> not available in the Windows APIs.
> 
> Instead of rewriting it or coming up with some other replacement, this
> patch makes use of the implementation provided by NetBSD to make it
> possible to compile code dependent on getline on Windows.
> 
> Signed-off-by: Andre Muezerie <andremue at linux.microsoft.com>

Not sure, are BSD-2 and BSD-3 compatible?
Getting license exception approved requires going through the governing board
which can take up to 6 months.


More information about the dev mailing list