From ee1ded6cd6a7247e9ec64f2220af05325bcf3b33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Sun, 10 Aug 2025 13:20:01 +0200 Subject: [PATCH] man: add sd-path page We have similar pages for other parts of libsystemd too. --- man/libsystemd.xml | 3 ++- man/rules/meson.build | 1 + man/sd-path.xml | 59 +++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 62 insertions(+), 1 deletion(-) create mode 100644 man/sd-path.xml diff --git a/man/libsystemd.xml b/man/libsystemd.xml index 2e1f5f5f37..f708758ea2 100644 --- a/man/libsystemd.xml +++ b/man/libsystemd.xml @@ -62,7 +62,8 @@ sd-id1283, sd-journal3, sd-json3, - sd-login3 + sd-login3, + sd-path3, and sd-varlink3 for information about different parts of the library interface. diff --git a/man/rules/meson.build b/man/rules/meson.build index fdec807cb2..33f44b0659 100644 --- a/man/rules/meson.build +++ b/man/rules/meson.build @@ -154,6 +154,7 @@ manpages = [ ['sd-journal', '3', [], ''], ['sd-json', '3', [], ''], ['sd-login', '3', [], 'HAVE_PAM'], + ['sd-path', '3', [], ''], ['sd-varlink', '3', [], ''], ['sd_booted', '3', [], ''], ['sd_bus_add_match', diff --git a/man/sd-path.xml b/man/sd-path.xml new file mode 100644 index 0000000000..b7e9aa3d08 --- /dev/null +++ b/man/sd-path.xml @@ -0,0 +1,59 @@ + + + + + + + + sd-path + systemd + + + + sd-path + 3 + + + + sd-path + APIs to query file system paths + + + + + #include <systemd/sd-path.h> + + + + pkg-config --cflags --libs libsystemd + + + + + Description + + sd-path.h is part of + libsystemd3 and + provides APIs to query file system paths. This functionality is similar to the command-line + functionality provided by + systemd-path1. + + + See + sd_path_lookup3 + for information about the functions available. + + + + + + See Also + + systemd1 + systemd-path1 + pkg-config1 + + +