[libc-commits] [libc] 1670fa6 - [libc][docs] Add syslog.h to the header status docs (#226982)

via libc-commits libc-commits at lists.llvm.org
Mon Oct 5 02:13:39 PDT 2026


Author: Prashanth
Date: 2026-10-05T09:13:32Z
New Revision: 1670fa60ac3151deee3a9139484c4ae404a4a9be

URL: https://github.com/llvm/llvm-project/commit/1670fa60ac3151deee3a9139484c4ae404a4a9be
DIFF: https://github.com/llvm/llvm-project/commit/1670fa60ac3151deee3a9139484c4ae404a4a9be.diff

LOG: [libc][docs] Add syslog.h to the header status docs (#226982)

Add a header status page for `syslog.h` #122006

Added: 
    libc/utils/docgen/syslog.yaml

Modified: 
    libc/docs/CMakeLists.txt
    libc/docs/headers/index.rst

Removed: 
    


################################################################################
diff  --git a/libc/docs/CMakeLists.txt b/libc/docs/CMakeLists.txt
index 73da7448c0d49..0afda7910b1f0 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 893ddf839cccd..bedab2049e5eb 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 0000000000000..83cc97bdb0f02
--- /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