Comment by newaccount74
Comment by newaccount74 3 days ago
getaddrinfo() is not a legacy API, it's a standard cross platform API for doing DNS lookups.
Comment by newaccount74 3 days ago
getaddrinfo() is not a legacy API, it's a standard cross platform API for doing DNS lookups.
Funny how that goes: macOS is POSIX certified but no other desktop BSD or Linux is.
There have been POSIX-certified Linux variants. But the open source projects you use don't bother (for obvious reasons) and commercial derivatives like Android and ChromeOS don't need it. Similarly Window NT was POSIX-certified way back in the day yet its descendants aren't, even though they implement the same API set (via very different technology).
According to https://www.opengroup.org/openbrand/register/ macOS 15 is not certified.
it is apparently on Mac and arguably with good reason. See this comment https://news.ycombinator.com/item?id=41572770
Specifically defined by POSIX: https://pubs.opengroup.org/onlinepubs/9699919799/functions/g...