[libc-commits] [libc] Implement inet_pton (PR #224644)
Pavel Labath via libc-commits
libc-commits at lists.llvm.org
Tue Sep 22 02:32:33 PDT 2026
================
@@ -25,7 +25,8 @@
namespace LIBC_NAMESPACE_DECL {
namespace net {
-cpp::optional<in_addr_t> inet_addr(cpp::string_view src);
+int inet_addr(cpp::string_view src, void *dst);
----------------
labath wrote:
I'm not sure why are the pre-merge checks on this PR missing, but I don't see how this (changing the prototype of inet_addr without changing the implementation) could build. Please revert this.
https://github.com/llvm/llvm-project/pull/224644
More information about the libc-commits
mailing list