[libc-commits] [libc] Add sys/utsname header and documentation for uname function (PR #131817)
via libc-commits
libc-commits at lists.llvm.org
Tue Mar 18 08:06:14 PDT 2025
https://github.com/StarOne01 created https://github.com/llvm/llvm-project/pull/131817
These changes tracks `utsname.h` for the implementation status of functions and macros, with respect to the issue ( https://github.com/llvm/llvm-project/issues/122006 ) cc @lntue .
>From 7acf718137f9b62c03693a075fd6a80a36c7137b Mon Sep 17 00:00:00 2001
From: Prashanth <TheStarOne01 at proton.me>
Date: Tue, 18 Mar 2025 20:30:07 +0530
Subject: [PATCH] Add sys/utsname header and documentation for uname function
---
libc/docs/CMakeLists.txt | 1 +
libc/docs/headers/index.rst | 1 +
libc/utils/docgen/sys/utsname.yaml | 3 +++
3 files changed, 5 insertions(+)
create mode 100644 libc/utils/docgen/sys/utsname.yaml
diff --git a/libc/docs/CMakeLists.txt b/libc/docs/CMakeLists.txt
index fb72af02339e1..ba3751f8df8f5 100644
--- a/libc/docs/CMakeLists.txt
+++ b/libc/docs/CMakeLists.txt
@@ -67,6 +67,7 @@ if (SPHINX_FOUND)
threads
uchar
unistd
+ sys/utsname
wchar
wctype
)
diff --git a/libc/docs/headers/index.rst b/libc/docs/headers/index.rst
index b5f1e4dae2e7a..b2f47bda534a6 100644
--- a/libc/docs/headers/index.rst
+++ b/libc/docs/headers/index.rst
@@ -40,6 +40,7 @@ Implementation Status
time
uchar
unistd
+ sys/utsname
wchar
wctype
..
diff --git a/libc/utils/docgen/sys/utsname.yaml b/libc/utils/docgen/sys/utsname.yaml
new file mode 100644
index 0000000000000..1ae12970cf586
--- /dev/null
+++ b/libc/utils/docgen/sys/utsname.yaml
@@ -0,0 +1,3 @@
+functions:
+ uname:
+ in-latest-posix: ''
\ No newline at end of file
More information about the libc-commits
mailing list