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

via libc-commits libc-commits at lists.llvm.org
Fri Apr 24 04:59:25 PDT 2026


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libc

Author: Petter Berntsson (petbernt)

<details>
<summary>Changes</summary>

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

---
Full diff: https://github.com/llvm/llvm-project/pull/193948.diff


3 Files Affected:

- (modified) libc/docs/CMakeLists.txt (+1) 
- (modified) libc/docs/headers/index.rst (+1) 
- (added) libc/utils/docgen/sys/select.yaml (+17) 


``````````diff
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: ""

``````````

</details>


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


More information about the libc-commits mailing list