[libc-commits] [libc] [libc][docs] Add syslog.h to the header status docs (PR #226982)
via libc-commits
libc-commits at lists.llvm.org
Mon Oct 5 02:00:24 PDT 2026
https://github.com/Sukumarsawant updated https://github.com/llvm/llvm-project/pull/226982
>From a3ea87ddbcdf2cf64f0a82d39ac6e79d40ec7868 Mon Sep 17 00:00:00 2001
From: Prashanth <ping at starone01.me>
Date: Mon, 28 Sep 2026 19:06:03 +0530
Subject: [PATCH] [libc][docs] Add syslog.h to the header status docs
---
libc/docs/CMakeLists.txt | 1 +
libc/docs/headers/index.rst | 1 +
libc/utils/docgen/syslog.yaml | 75 +++++++++++++++++++++++++++++++++++
3 files changed, 77 insertions(+)
create mode 100644 libc/utils/docgen/syslog.yaml
diff --git a/libc/docs/CMakeLists.txt b/libc/docs/CMakeLists.txt
index 73da7448c0d4979..0afda7910b1f04d 100644
--- a/libc/docs/CMakeLists.txt
+++ b/libc/docs/CMakeLists.txt
@@ -56,6 +56,7 @@ if(LLVM_ENABLE_SPHINX)
sys/uio
sys/utsname
sys/wait
+ syslog
termios
threads
time
diff --git a/libc/docs/headers/index.rst b/libc/docs/headers/index.rst
index 893ddf839cccd34..bedab2049e5eb3b 100644
--- a/libc/docs/headers/index.rst
+++ b/libc/docs/headers/index.rst
@@ -52,6 +52,7 @@ Implementation Status
sys/uio
sys/utsname
sys/wait
+ syslog
termios
threads
time
diff --git a/libc/utils/docgen/syslog.yaml b/libc/utils/docgen/syslog.yaml
new file mode 100644
index 000000000000000..83cc97bdb0f02c9
--- /dev/null
+++ b/libc/utils/docgen/syslog.yaml
@@ -0,0 +1,75 @@
+macros:
+ LOG_PID:
+ in-latest-posix: ''
+ LOG_CONS:
+ in-latest-posix: ''
+ LOG_NDELAY:
+ in-latest-posix: ''
+ LOG_ODELAY:
+ in-latest-posix: ''
+ LOG_NOWAIT:
+ in-latest-posix: ''
+ LOG_KERN:
+ in-latest-posix: ''
+ LOG_USER:
+ in-latest-posix: ''
+ LOG_MAIL:
+ in-latest-posix: ''
+ LOG_NEWS:
+ in-latest-posix: ''
+ LOG_UUCP:
+ in-latest-posix: ''
+ LOG_DAEMON:
+ in-latest-posix: ''
+ LOG_AUTH:
+ in-latest-posix: ''
+ LOG_CRON:
+ in-latest-posix: ''
+ LOG_LPR:
+ in-latest-posix: ''
+ LOG_LOCAL0:
+ in-latest-posix: ''
+ LOG_LOCAL1:
+ in-latest-posix: ''
+ LOG_LOCAL2:
+ in-latest-posix: ''
+ LOG_LOCAL3:
+ in-latest-posix: ''
+ LOG_LOCAL4:
+ in-latest-posix: ''
+ LOG_LOCAL5:
+ in-latest-posix: ''
+ LOG_LOCAL6:
+ in-latest-posix: ''
+ LOG_LOCAL7:
+ in-latest-posix: ''
+ LOG_MASK:
+ in-latest-posix: ''
+ LOG_UPTO:
+ in-latest-posix: ''
+ LOG_EMERG:
+ in-latest-posix: ''
+ LOG_ALERT:
+ in-latest-posix: ''
+ LOG_CRIT:
+ in-latest-posix: ''
+ LOG_ERR:
+ in-latest-posix: ''
+ LOG_WARNING:
+ in-latest-posix: ''
+ LOG_NOTICE:
+ in-latest-posix: ''
+ LOG_INFO:
+ in-latest-posix: ''
+ LOG_DEBUG:
+ in-latest-posix: ''
+
+functions:
+ closelog:
+ in-latest-posix: ''
+ openlog:
+ in-latest-posix: ''
+ setlogmask:
+ in-latest-posix: ''
+ syslog:
+ in-latest-posix: ''
More information about the libc-commits
mailing list