Skip to content

Commit 6a8439b

Browse files
authored
[libc][docs] Add sys/statvfs to documentation and YAML definitions (llvm#126413)
These changes ensure that the sys/statvfs header is documented properly with respect to the issue ( llvm#122006 ) .
1 parent 62ae876 commit 6a8439b

File tree

3 files changed

+13
-0
lines changed

3 files changed

+13
-0
lines changed

libc/docs/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ if (SPHINX_FOUND)
5959
sys/mman
6060
sys/resource
6161
sys/stat
62+
sys/statvfs
6263
sys/time
6364
sys/wait
6465
termios

libc/docs/headers/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ Implementation Status
3030
sys/mman
3131
sys/resource
3232
sys/stat
33+
sys/statvfs
3334
sys/time
3435
sys/wait
3536
termios

libc/utils/docgen/sys/statvfs.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
functions:
2+
fstatvfs:
3+
in-latest-posix: ''
4+
statvfs:
5+
in-latest-posix: ''
6+
7+
macros:
8+
ST_RDONLY:
9+
in-latest-posix: ''
10+
ST_NOSUID:
11+
in-latest-posix: ''

0 commit comments

Comments
 (0)