From 00ec8488c35eab427c75c249e926855f33ece6da Mon Sep 17 00:00:00 2001 From: Prashanth Date: Sun, 9 Feb 2025 16:10:13 +0530 Subject: [PATCH 1/2] [libc][docs] Add sys/statvfs to documentation and YAML definitions --- libc/docs/CMakeLists.txt | 1 + libc/docs/headers/index.rst | 1 + libc/utils/docgen/sys/statvfs.yaml | 11 +++++++++++ 3 files changed, 13 insertions(+) create mode 100644 libc/utils/docgen/sys/statvfs.yaml diff --git a/libc/docs/CMakeLists.txt b/libc/docs/CMakeLists.txt index 97f27fe6a6e0c..4ef0e920de683 100644 --- a/libc/docs/CMakeLists.txt +++ b/libc/docs/CMakeLists.txt @@ -59,6 +59,7 @@ if (SPHINX_FOUND) sys/mman sys/resource sys/stat + sys/statvfs sys/time sys/wait termios diff --git a/libc/docs/headers/index.rst b/libc/docs/headers/index.rst index 745b6f44750db..3dc30ef90a8e4 100644 --- a/libc/docs/headers/index.rst +++ b/libc/docs/headers/index.rst @@ -30,6 +30,7 @@ Implementation Status sys/mman sys/resource sys/stat + sys/statvfs sys/time sys/wait termios diff --git a/libc/utils/docgen/sys/statvfs.yaml b/libc/utils/docgen/sys/statvfs.yaml new file mode 100644 index 0000000000000..43fb92166f8a0 --- /dev/null +++ b/libc/utils/docgen/sys/statvfs.yaml @@ -0,0 +1,11 @@ +functions: + fstatvfs: + in-latest-posix: '' + statvfs: + in-latest-posix: '' + +macros: + ST_RDONLY: + in-latest-posix: '' + ST_NOSUID: + in-latest-posix: '' \ No newline at end of file From 6b0c4614d06bc63b80d186f1bf79e97cc3a27b62 Mon Sep 17 00:00:00 2001 From: Prashanth Date: Mon, 10 Feb 2025 22:23:50 +0530 Subject: [PATCH 2/2] [libc][docs] add newline to statvfs.yaml --- libc/utils/docgen/sys/statvfs.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libc/utils/docgen/sys/statvfs.yaml b/libc/utils/docgen/sys/statvfs.yaml index 43fb92166f8a0..b13c3cb7203e5 100644 --- a/libc/utils/docgen/sys/statvfs.yaml +++ b/libc/utils/docgen/sys/statvfs.yaml @@ -8,4 +8,4 @@ macros: ST_RDONLY: in-latest-posix: '' ST_NOSUID: - in-latest-posix: '' \ No newline at end of file + in-latest-posix: ''