[libc-commits] [libc] [libc] Add struct sockaddr_in (PR #197909)

Jeff Bailey via libc-commits libc-commits at lists.llvm.org
Fri May 15 05:31:48 PDT 2026


================
@@ -30,6 +30,8 @@
 #define INADDR_ANY __LLVM_LIBC_CAST(static_cast, in_addr_t, 0x00000000)
 #define INADDR_BROADCAST __LLVM_LIBC_CAST(static_cast, in_addr_t, 0xffffffff)
 #define INADDR_NONE __LLVM_LIBC_CAST(static_cast, in_addr_t, 0xffffffff)
+// Not specified by POSIX
----------------
kaladron wrote:

It looks like this is 4.3BSD?  We should get say that if that's right (or as close as we can figure out) rather than what it's not.

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


More information about the libc-commits mailing list