mlibc icon indicating copy to clipboard operation
mlibc copied to clipboard

options/bsd: move getifaddrs from linux to bsd

Open marv7000 opened this issue 1 month ago • 2 comments

getifaddrs is also available on different BSDs. The function signatures and struct ifaddrs aligns with the current mlibc declaration.

marv7000 avatar Nov 20 '25 13:11 marv7000

Given that it is also supported on Linux, I am not sure that moving it is the best play - maybe we should enable it if __MLIBC_LINUX_OPTION || __MLIBC_BSD_OPTION?

no92 avatar Nov 23 '25 08:11 no92

Agreed.

mintsuki avatar Nov 24 '25 12:11 mintsuki