[libc-commits] [libc] [libc][docs] Add poll.h POSIX header documentation (#122006) (PR #193734)

via libc-commits libc-commits at lists.llvm.org
Thu Apr 23 06:19:53 PDT 2026


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libc

Author: Petter Berntsson (petbernt)

<details>
<summary>Changes</summary>

Add poll.h implementation-status docs to llvm-libc.

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


3 Files Affected:

- (modified) libc/docs/CMakeLists.txt (+1) 
- (modified) libc/docs/headers/index.rst (+1) 
- (added) libc/utils/docgen/poll.yaml (+27) 


``````````diff
diff --git a/libc/docs/CMakeLists.txt b/libc/docs/CMakeLists.txt
index e8f4e86529b95..090409210f514 100644
--- a/libc/docs/CMakeLists.txt
+++ b/libc/docs/CMakeLists.txt
@@ -55,6 +55,7 @@ if (SPHINX_FOUND)
       locale
       net/if
       netinet/in
+      poll
       pthread
       setjmp
       signal
diff --git a/libc/docs/headers/index.rst b/libc/docs/headers/index.rst
index b77a54f9609ad..cf120fa1b7c56 100644
--- a/libc/docs/headers/index.rst
+++ b/libc/docs/headers/index.rst
@@ -22,6 +22,7 @@ Implementation Status
    math/index.rst
    net/if
    netinet/in
+   poll
    search
    setjmp
    signal
diff --git a/libc/utils/docgen/poll.yaml b/libc/utils/docgen/poll.yaml
new file mode 100644
index 0000000000000..9f19df7080412
--- /dev/null
+++ b/libc/utils/docgen/poll.yaml
@@ -0,0 +1,27 @@
+functions:
+  poll:
+    in-latest-posix: ''
+  ppoll:
+    in-latest-posix: ''
+
+macros:
+  POLLERR:
+    in-latest-posix: ''
+  POLLHUP:
+    in-latest-posix: ''
+  POLLIN:
+    in-latest-posix: ''
+  POLLNVAL:
+    in-latest-posix: ''
+  POLLOUT:
+    in-latest-posix: ''
+  POLLPRI:
+    in-latest-posix: ''
+  POLLRDBAND:
+    in-latest-posix: ''
+  POLLRDNORM:
+    in-latest-posix: ''
+  POLLWRBAND:
+    in-latest-posix: ''
+  POLLWRNORM:
+    in-latest-posix: ''

``````````

</details>


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


More information about the libc-commits mailing list