[libc-commits] [libc] Implement inet_pton (PR #224644)

via libc-commits libc-commits at lists.llvm.org
Tue Sep 22 05:31:49 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);
----------------
afnrow wrote:

This was an old version and when I committed I accidentally committed this will change it, and on the pre-merge github sent me an email saying something like startup failed or something 3 times so this might be it.

https://github.com/llvm/llvm-project/pull/224644


More information about the libc-commits mailing list