From: Zbigniew Jędrzejewski-Szmek Date: Tue, 12 Apr 2022 09:28:17 +0000 (+0200) Subject: man: add landing page for sd-device X-Git-Tag: v251-rc2~136^2~6 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fc6f59aedc456bd8f4cd6440079a337a481519f1;p=thirdparty%2Fsystemd.git man: add landing page for sd-device We got documentation for sd-device for the first time with b51f4eaf7b58f064092215cea9c6fc1c5af5646e, so let's celebrate by adding a landing page that also explains the relationship with libudev. --- diff --git a/man/rules/meson.build b/man/rules/meson.build index add28a724cb..180b0abaaa2 100644 --- a/man/rules/meson.build +++ b/man/rules/meson.build @@ -117,6 +117,7 @@ manpages = [ 'SD_NOTICE', 'SD_WARNING'], ''], + ['sd-device', '3', [], ''], ['sd-event', '3', [], ''], ['sd-hwdb', '3', [], ''], ['sd-id128', diff --git a/man/sd-device.xml b/man/sd-device.xml new file mode 100644 index 00000000000..3a86a28848b --- /dev/null +++ b/man/sd-device.xml @@ -0,0 +1,61 @@ + + + + + + + + sd-device + systemd + + + + sd-device + 3 + + + + sd-device + API for enumerating and introspecting local devices + + + + + #include <systemd/sd-device.h> + + + + pkg-config --cflags --libs libsystemd + + + + + + Description + + sd-device.h provides an API to introspect and enumerate devices on the local + system. It provides a programmatic interface to the database of devices and their properties mananaged by + systemd-udevd.service8. + This API is a replacement for + libudev3 and + libudev.h. + + See + sd_device_get_syspath3 + + for more information about the functions available. + + + + + + See Also + + systemd1, + sd-event3, + udevadm8 + + + +