mirror of
https://github.com/siemens-mobile-hacks/llvm-c166.git
synced 2026-11-25 21:45:57 +00:00
Implement inet_ntoa, reusing the internal net::ipv4_to_str helper that backs inet_ntop. The result is stored in a *thread-local* static buffer. A thread-local buffer is not required for POSIX conformance, but there is some precedent for that, both in llvm libc (e.g. `strsignal`) and in glibc (whose `inet_ntoa` uses it). I'm doing the same for maximum compatiblity. Assisted by Gemini. |
||
|---|---|---|
| .. | ||
| inet.yaml | ||