Hi,
Am I wrong?
My regards,
Waldemar Kozaczuk
PS. Trying to compile if_nameindex() yields warning:
CC musl/src/network/if_nameindex.c
include/api/net/if.h: In function ‘if_nametoindex’:
musl/src/network/if_nametoindex.c:14:2: error: ‘strncpy’ specified bound 16 equals destination size [-Werror=stringop-truncation]
14 | strncpy(ifr.ifr_name, name, sizeof ifr.ifr_name);