Skip to content

Commit 7063419

Browse files
authored
[libc][docs] Add dirent implementation status doc and include in CMakeLists (#132151)
These changes tracks `dirent.h` for the implementation status of functions and macros, with respect to the issue ( #122006 ).
1 parent 3b3f8c5 commit 7063419

File tree

3 files changed

+55
-2
lines changed

3 files changed

+55
-2
lines changed

libc/docs/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ if (SPHINX_FOUND)
3939
assert
4040
cpio
4141
ctype
42+
dirent
4243
endian
4344
errno
4445
fenv
@@ -62,12 +63,12 @@ if (SPHINX_FOUND)
6263
sys/stat
6364
sys/statvfs
6465
sys/time
66+
sys/utsname
6567
sys/wait
6668
termios
6769
threads
6870
uchar
6971
unistd
70-
sys/utsname
7172
wchar
7273
wctype
7374
)

libc/docs/headers/index.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Implementation Status
1010
complex
1111
cpio
1212
ctype
13+
dirent
1314
endian
1415
errno
1516
fenv
@@ -34,13 +35,13 @@ Implementation Status
3435
sys/stat
3536
sys/statvfs
3637
sys/time
38+
sys/utsname
3739
sys/wait
3840
termios
3941
threads
4042
time
4143
uchar
4244
unistd
43-
sys/utsname
4445
wchar
4546
wctype
4647
..

libc/utils/docgen/dirent.yaml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
macros:
2+
DT_BLK:
3+
in-latest-posix: ''
4+
DT_CHR:
5+
in-latest-posix: ''
6+
DT_DIR:
7+
in-latest-posix: ''
8+
DT_FIFO:
9+
in-latest-posix: ''
10+
DT_LNK:
11+
in-latest-posix: ''
12+
DT_REG:
13+
in-latest-posix: ''
14+
DT_SOCK:
15+
in-latest-posix: ''
16+
DT_UNKNOWN:
17+
in-latest-posix: ''
18+
DT_MQ:
19+
in-latest-posix: ''
20+
DT_SEM:
21+
in-latest-posix: ''
22+
DT_SHM:
23+
in-latest-posix: ''
24+
DT_TMO:
25+
in-latest-posix: ''
26+
27+
functions:
28+
alphasort:
29+
in-latest-posix: ''
30+
closedir:
31+
in-latest-posix: ''
32+
dirfd:
33+
in-latest-posix: ''
34+
fdopendir:
35+
in-latest-posix: ''
36+
opendir:
37+
in-latest-posix: ''
38+
posix_getdents:
39+
in-latest-posix: ''
40+
readdir:
41+
in-latest-posix: ''
42+
readdir_r:
43+
in-latest-posix: ''
44+
rewinddir:
45+
in-latest-posix: ''
46+
scandir:
47+
in-latest-posix: ''
48+
seekdir:
49+
in-latest-posix: ''
50+
telldir:
51+
in-latest-posix: ''

0 commit comments

Comments
 (0)