[libc-commits] [libc] [libc][docs] add sys/wait to documentation and include related functi… (PR #122598)
via libc-commits
libc-commits at lists.llvm.org
Tue Jan 14 18:09:23 PST 2025
https://github.com/StarOne01 updated https://github.com/llvm/llvm-project/pull/122598
>From 95036c72fd380e97a9f70d48e16a6f9e2124b6ba Mon Sep 17 00:00:00 2001
From: Prashanth <TheStarOne01 at proton.me>
Date: Sat, 11 Jan 2025 16:24:48 +0000
Subject: [PATCH 1/2] [libc][docs] add sys/wait to documentation and include
related functions and macros
---
libc/docs/CMakeLists.txt | 1 +
libc/docs/headers/index.rst | 1 +
libc/utils/docgen/sys/wait.yaml | 35 +++++++++++++++++++++++++++++++++
3 files changed, 37 insertions(+)
create mode 100644 libc/utils/docgen/sys/wait.yaml
diff --git a/libc/docs/CMakeLists.txt b/libc/docs/CMakeLists.txt
index 4fa621fb2a0510..eabb26b9aa6b13 100644
--- a/libc/docs/CMakeLists.txt
+++ b/libc/docs/CMakeLists.txt
@@ -53,6 +53,7 @@ if (SPHINX_FOUND)
string
strings
sys/mman
+ sys/wait
threads
uchar
wchar
diff --git a/libc/docs/headers/index.rst b/libc/docs/headers/index.rst
index 2295a8cc8853cd..694b4b6f1a6b1c 100644
--- a/libc/docs/headers/index.rst
+++ b/libc/docs/headers/index.rst
@@ -26,6 +26,7 @@ Implementation Status
string
strings
sys/mman
+ sys/wait
threads
time
uchar
diff --git a/libc/utils/docgen/sys/wait.yaml b/libc/utils/docgen/sys/wait.yaml
new file mode 100644
index 00000000000000..bf801073b7b8c8
--- /dev/null
+++ b/libc/utils/docgen/sys/wait.yaml
@@ -0,0 +1,35 @@
+functions:
+ wait:
+ in-latest-posix: ''
+ waitid:
+ in-latest-posix: ''
+ waitpid:
+ in-latest-posix: ''
+
+macros:
+ WCONTINUED:
+ in-latest-posix: ''
+ WEXITED:
+ in-latest-posix: ''
+ WEXITSTATUS:
+ in-latest-posix: ''
+ WIFCONTINUED:
+ in-latest-posix: ''
+ WIFEXITED:
+ in-latest-posix: ''
+ WIFSIGNALED:
+ in-latest-posix: ''
+ WIFSTOPPED:
+ in-latest-posix: ''
+ WNOHANG:
+ in-latest-posix: ''
+ WNOWAIT:
+ in-latest-posix: ''
+ WSTOPPED:
+ in-latest-posix: ''
+ WSTOPSIG:
+ in-latest-posix: ''
+ WTERMSIG:
+ in-latest-posix: ''
+ WUNTRACED:
+ in-latest-posix: ''
\ No newline at end of file
>From f61df37cba302cc03a3a0eaaf94258b0f3930bc6 Mon Sep 17 00:00:00 2001
From: Prashanth <TheStarOne01 at proton.me>
Date: Wed, 15 Jan 2025 02:09:09 +0000
Subject: [PATCH 2/2] [libc][docs] add WCORE_DUMPED macro to sys/wait
documentation
---
libc/utils/docgen/sys/wait.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libc/utils/docgen/sys/wait.yaml b/libc/utils/docgen/sys/wait.yaml
index bf801073b7b8c8..91d67ad4a358bf 100644
--- a/libc/utils/docgen/sys/wait.yaml
+++ b/libc/utils/docgen/sys/wait.yaml
@@ -32,4 +32,6 @@ macros:
WTERMSIG:
in-latest-posix: ''
WUNTRACED:
+ in-latest-posix: ''
+ WCORE_DUMPED:
in-latest-posix: ''
\ No newline at end of file
More information about the libc-commits
mailing list