[libc-commits] [libc] [libc][docs] Add sys/msg.h to the header status docs (PR #227619)

via libc-commits libc-commits at lists.llvm.org
Mon Oct 5 02:15:04 PDT 2026


https://github.com/Sukumarsawant updated https://github.com/llvm/llvm-project/pull/227619

>From 7f0d392ffc87a306c165fe44ee985403e1af9dd4 Mon Sep 17 00:00:00 2001
From: Prashanth <ping at starone01.me>
Date: Wed, 30 Sep 2026 14:53:30 +0530
Subject: [PATCH 1/2] [libc][docs] Add sys/msg.h to the header status docs

---
 libc/docs/CMakeLists.txt       |  1 +
 libc/docs/headers/index.rst    |  1 +
 libc/utils/docgen/sys/msg.yaml | 13 +++++++++++++
 3 files changed, 15 insertions(+)
 create mode 100644 libc/utils/docgen/sys/msg.yaml

diff --git a/libc/docs/CMakeLists.txt b/libc/docs/CMakeLists.txt
index 73da7448c0d49..ea68a813146b7 100644
--- a/libc/docs/CMakeLists.txt
+++ b/libc/docs/CMakeLists.txt
@@ -46,6 +46,7 @@ if(LLVM_ENABLE_SPHINX)
         strings
         sys/ipc
         sys/mman
+        sys/msg
         sys/resource
         sys/select
         sys/sem
diff --git a/libc/docs/headers/index.rst b/libc/docs/headers/index.rst
index 893ddf839cccd..d2a9cfdcf4033 100644
--- a/libc/docs/headers/index.rst
+++ b/libc/docs/headers/index.rst
@@ -42,6 +42,7 @@ Implementation Status
    strings
    sys/ipc
    sys/mman
+   sys/msg
    sys/resource
    sys/select
    sys/sem
diff --git a/libc/utils/docgen/sys/msg.yaml b/libc/utils/docgen/sys/msg.yaml
new file mode 100644
index 0000000000000..7b8e39d547dd7
--- /dev/null
+++ b/libc/utils/docgen/sys/msg.yaml
@@ -0,0 +1,13 @@
+macros:
+  MSG_NOERROR:
+    in-latest-posix: ''
+
+functions:
+  msgctl:
+    in-latest-posix: ''
+  msgget:
+    in-latest-posix: ''
+  msgrcv:
+    in-latest-posix: ''
+  msgsnd:
+    in-latest-posix: ''
\ No newline at end of file

>From 36d2cdb37daa15ab024ded23d7ca4c840fdb9614 Mon Sep 17 00:00:00 2001
From: Prashanth <ping at starone01.me>
Date: Wed, 30 Sep 2026 14:56:38 +0530
Subject: [PATCH 2/2] [libc][docs] Fix formatting in sys/msg.yaml by ensuring
 newline at end of file

---
 libc/utils/docgen/sys/msg.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libc/utils/docgen/sys/msg.yaml b/libc/utils/docgen/sys/msg.yaml
index 7b8e39d547dd7..e12558581431e 100644
--- a/libc/utils/docgen/sys/msg.yaml
+++ b/libc/utils/docgen/sys/msg.yaml
@@ -10,4 +10,4 @@ functions:
   msgrcv:
     in-latest-posix: ''
   msgsnd:
-    in-latest-posix: ''
\ No newline at end of file
+    in-latest-posix: ''



More information about the libc-commits mailing list