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

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


Author: Petter Berntsson
Date: 2026-04-23T15:02:14+01:00
New Revision: f6c4280ea9069fac576aece20e87e039b75b417f

URL: https://github.com/llvm/llvm-project/commit/f6c4280ea9069fac576aece20e87e039b75b417f
DIFF: https://github.com/llvm/llvm-project/commit/f6c4280ea9069fac576aece20e87e039b75b417f.diff

LOG: [libc][docs] Add poll.h POSIX header documentation (#122006) (#193734)

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

Added: 
    libc/utils/docgen/poll.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 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