[all-commits] [llvm/llvm-project] 5b3416: [libc] implement `inet_aton` (#162651)

Connector Switch via All-commits all-commits at lists.llvm.org
Tue Oct 21 08:48:00 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5b3416caf91f770b6e50fa1cb593d5772a7f6c97
      https://github.com/llvm/llvm-project/commit/5b3416caf91f770b6e50fa1cb593d5772a7f6c97
  Author: Connector Switch <c8ef at outlook.com>
  Date:   2025-10-21 (Tue, 21 Oct 2025)

  Changed paths:
    M libc/config/linux/aarch64/entrypoints.txt
    M libc/config/linux/riscv/entrypoints.txt
    M libc/config/linux/x86_64/entrypoints.txt
    M libc/docs/dev/undefined_behavior.rst
    M libc/include/arpa/inet.yaml
    M libc/src/arpa/inet/CMakeLists.txt
    A libc/src/arpa/inet/inet_aton.cpp
    A libc/src/arpa/inet/inet_aton.h
    M libc/test/src/arpa/inet/CMakeLists.txt
    A libc/test/src/arpa/inet/inet_aton_test.cpp

  Log Message:
  -----------
  [libc] implement `inet_aton` (#162651)

This patch adds the implementation for `inet_aton` function. Since this
function is not explicitly included in POSIX, I have marked it with
`llvm_libc_ext`. It is widely available and commonly used, and can also
be used to implement `inet_addr`, which is included in POSIX.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list