[libc-commits] [libc] [libc][docs] Add poll.h POSIX header documentation (#122006) (PR #193734)
Petter Berntsson via libc-commits
libc-commits at lists.llvm.org
Thu Apr 23 06:19:12 PDT 2026
https://github.com/petbernt created https://github.com/llvm/llvm-project/pull/193734
Add poll.h implementation-status docs to llvm-libc.
>From d725d65baecc77a29d4f543590cfe6ed5d0726d1 Mon Sep 17 00:00:00 2001
From: Petter Berntsson <petter.berntsson at arm.com>
Date: Thu, 23 Apr 2026 12:53:52 +0100
Subject: [PATCH] [libc][docs] Add poll.h POSIX header documentation (#122006)
---
libc/docs/CMakeLists.txt | 1 +
libc/docs/headers/index.rst | 1 +
libc/utils/docgen/poll.yaml | 27 +++++++++++++++++++++++++++
3 files changed, 29 insertions(+)
create mode 100644 libc/utils/docgen/poll.yaml
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: ''
More information about the libc-commits
mailing list