[libc-commits] [libc] cc2b2f5 - [libc][docs] Add sys/sem.h POSIX header documentation (#122006) (#194358)
via libc-commits
libc-commits at lists.llvm.org
Mon Apr 27 06:33:54 PDT 2026
Author: Petter Berntsson
Date: 2026-04-27T14:33:49+01:00
New Revision: cc2b2f548622805a883201bfd7732d863636ecac
URL: https://github.com/llvm/llvm-project/commit/cc2b2f548622805a883201bfd7732d863636ecac
DIFF: https://github.com/llvm/llvm-project/commit/cc2b2f548622805a883201bfd7732d863636ecac.diff
LOG: [libc][docs] Add sys/sem.h POSIX header documentation (#122006) (#194358)
Add sys/sem.h implementation-status docs to llvm-libc.
Added:
libc/utils/docgen/sys/sem.yaml
Modified:
libc/docs/CMakeLists.txt
libc/docs/headers/index.rst
Removed:
################################################################################
diff --git a/libc/docs/CMakeLists.txt b/libc/docs/CMakeLists.txt
index 237a648e7ac1d..3326875932ad0 100644
--- a/libc/docs/CMakeLists.txt
+++ b/libc/docs/CMakeLists.txt
@@ -68,6 +68,7 @@ if (SPHINX_FOUND)
sys/mman
sys/resource
sys/select
+ sys/sem
sys/socket
sys/stat
sys/statvfs
diff --git a/libc/docs/headers/index.rst b/libc/docs/headers/index.rst
index 3902d08b94c3e..d5e6397f68abb 100644
--- a/libc/docs/headers/index.rst
+++ b/libc/docs/headers/index.rst
@@ -36,6 +36,7 @@ Implementation Status
sys/mman
sys/resource
sys/select
+ sys/sem
sys/socket
sys/stat
sys/statvfs
diff --git a/libc/utils/docgen/sys/sem.yaml b/libc/utils/docgen/sys/sem.yaml
new file mode 100644
index 0000000000000..c50d850ee158c
--- /dev/null
+++ b/libc/utils/docgen/sys/sem.yaml
@@ -0,0 +1,25 @@
+functions:
+ semctl:
+ in-latest-posix: ''
+ semget:
+ in-latest-posix: ''
+ semop:
+ in-latest-posix: ''
+
+macros:
+ GETALL:
+ in-latest-posix: ''
+ GETNCNT:
+ in-latest-posix: ''
+ GETPID:
+ in-latest-posix: ''
+ GETVAL:
+ in-latest-posix: ''
+ GETZCNT:
+ in-latest-posix: ''
+ SEM_UNDO:
+ in-latest-posix: ''
+ SETALL:
+ in-latest-posix: ''
+ SETVAL:
+ in-latest-posix: ''
More information about the libc-commits
mailing list