Skip to content

Commit fadb0e9

Browse files
authored
[libc][docs] add sys/wait to documentation and include related functi… (#122598)
These changes ensure that the `sys/wait` header is documented properly with respect to the issue (#122006 ). **Changes:** 1. **wait.yaml**: Created a new YAML file for `sys/wait` with functions (`wait`, `waitid`, `waitpid`) and related macros. 2. **CMakeLists.txt**: Added `sys/wait` to the documentation directories. 3. **index.rst**: Included `sys/wait` in the documentation index.
1 parent 069fbeb commit fadb0e9

File tree

3 files changed

+39
-0
lines changed

3 files changed

+39
-0
lines changed

libc/docs/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ if (SPHINX_FOUND)
5555
strings
5656
sys/mman
5757
sys/resource
58+
sys/wait
5859
threads
5960
uchar
6061
wchar

libc/docs/headers/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ Implementation Status
2828
strings
2929
sys/mman
3030
sys/resource
31+
sys/wait
3132
threads
3233
time
3334
uchar

libc/utils/docgen/sys/wait.yaml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
functions:
2+
wait:
3+
in-latest-posix: ''
4+
waitid:
5+
in-latest-posix: ''
6+
waitpid:
7+
in-latest-posix: ''
8+
9+
macros:
10+
WCONTINUED:
11+
in-latest-posix: ''
12+
WEXITED:
13+
in-latest-posix: ''
14+
WEXITSTATUS:
15+
in-latest-posix: ''
16+
WIFCONTINUED:
17+
in-latest-posix: ''
18+
WIFEXITED:
19+
in-latest-posix: ''
20+
WIFSIGNALED:
21+
in-latest-posix: ''
22+
WIFSTOPPED:
23+
in-latest-posix: ''
24+
WNOHANG:
25+
in-latest-posix: ''
26+
WNOWAIT:
27+
in-latest-posix: ''
28+
WSTOPPED:
29+
in-latest-posix: ''
30+
WSTOPSIG:
31+
in-latest-posix: ''
32+
WTERMSIG:
33+
in-latest-posix: ''
34+
WUNTRACED:
35+
in-latest-posix: ''
36+
WCORE_DUMPED:
37+
in-latest-posix: ''

0 commit comments

Comments
 (0)