[all-commits] [llvm/llvm-project] 6ff34e: [libc] Implement recvmmsg (on linux) (#202328)

Pavel Labath via All-commits all-commits at lists.llvm.org
Thu Jun 11 06:22:38 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6ff34e926827050dfca1874b4fdf16f186f533f0
      https://github.com/llvm/llvm-project/commit/6ff34e926827050dfca1874b4fdf16f186f533f0
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2026-06-11 (Thu, 11 Jun 2026)

  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/include/sys/socket.yaml
    M libc/src/__support/OSUtil/linux/syscall_wrappers/CMakeLists.txt
    A libc/src/__support/OSUtil/linux/syscall_wrappers/recvmmsg.h
    M libc/src/sys/socket/CMakeLists.txt
    M libc/src/sys/socket/linux/CMakeLists.txt
    A libc/src/sys/socket/linux/recvmmsg.cpp
    A libc/src/sys/socket/recvmmsg.h
    M libc/test/src/sys/socket/linux/CMakeLists.txt
    R libc/test/src/sys/socket/linux/sendmmsg_test.cpp
    A libc/test/src/sys/socket/linux/sendrecvmmsg_test.cpp
    M libc/utils/docgen/sys/socket.yaml

  Log Message:
  -----------
  [libc] Implement recvmmsg (on linux) (#202328)

The function (unlike sendmmsg) takes a timeout argument, so I make sure
to always call the version with a 64-bit time_t. I've also renamed the
sendmmsg_test.cpp unit test to sendrecvmmsg_test.cpp to test both
functions. I also updated the yaml config and docgen files to include
the new function and the struct_timespec type dependency.

Assisted by Gemini.



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