[libc-commits] [libc] [libc][docs][POSIX] Add sys/select.h implementation status (#122006) (PR #193948)

Petter Berntsson via libc-commits libc-commits at lists.llvm.org
Fri Apr 24 04:58:53 PDT 2026


https://github.com/petbernt created https://github.com/llvm/llvm-project/pull/193948

Add sys/select.h implementation-status docs to llvm-libc.

>From 41d74d0ebc7c64f66dc950ca2cfb8f8d20da8137 Mon Sep 17 00:00:00 2001
From: Petter Berntsson <petter.berntsson at arm.com>
Date: Thu, 26 Mar 2026 10:35:49 +0000
Subject: [PATCH] [libc][docs][POSIX] Add sys/select.h implementation status
 (#122006)

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

diff --git a/libc/docs/CMakeLists.txt b/libc/docs/CMakeLists.txt
index 090409210f514..6d89a3e691dc9 100644
--- a/libc/docs/CMakeLists.txt
+++ b/libc/docs/CMakeLists.txt
@@ -66,6 +66,7 @@ if (SPHINX_FOUND)
       strings
       sys/mman
       sys/resource
+      sys/select
       sys/socket
       sys/stat
       sys/statvfs
diff --git a/libc/docs/headers/index.rst b/libc/docs/headers/index.rst
index cf120fa1b7c56..cfe76f3c4a73f 100644
--- a/libc/docs/headers/index.rst
+++ b/libc/docs/headers/index.rst
@@ -34,6 +34,7 @@ Implementation Status
    strings
    sys/mman
    sys/resource
+   sys/select
    sys/socket
    sys/stat
    sys/statvfs
diff --git a/libc/utils/docgen/sys/select.yaml b/libc/utils/docgen/sys/select.yaml
new file mode 100644
index 0000000000000..6c4a616a401ce
--- /dev/null
+++ b/libc/utils/docgen/sys/select.yaml
@@ -0,0 +1,17 @@
+functions:
+  pselect:
+    in-latest-posix: ""
+  select:
+    in-latest-posix: ""
+
+macros:
+  FD_CLR:
+    in-latest-posix: ""
+  FD_ISSET:
+    in-latest-posix: ""
+  FD_SET:
+    in-latest-posix: ""
+  FD_SETSIZE:
+    in-latest-posix: ""
+  FD_ZERO:
+    in-latest-posix: ""



More information about the libc-commits mailing list