[libc-commits] [libc] [libc] Fix inet_aton (PR #198791)
Pavel Labath via libc-commits
libc-commits at lists.llvm.org
Thu May 21 06:41:56 PDT 2026
================
----------------
labath wrote:
Is that a request to make this header only? If so, I can, though I'd rather not. :)
I'm also thinking about other network code that could go in here. getaddrinfo in particular is going to be fairly big. While there's no reason that couldn't be made header-only, doing that seems a bit wasteful.
OTOH, one of the problems we'll need to solve there is how to test that code, and *one* possibility is to make that a template (to allow mocking of syscalls). If we go down that path, pretty much all the code is going to have to be in a header anyway...
https://github.com/llvm/llvm-project/pull/198791
More information about the libc-commits
mailing list