1SD-DEVICE(3)                       sd-device                      SD-DEVICE(3)
2
3
4

NAME

6       sd-device - API for enumerating and introspecting local devices
7

SYNOPSIS

9       #include <systemd/sd-device.h>
10
11       pkg-config --cflags --libs libsystemd
12

DESCRIPTION

14       sd-device.h provides an API to introspect and enumerate devices on the
15       local system. It provides a programmatic interface to the database of
16       devices and their properties mananaged by systemd-udevd.service(8).
17       This API is a replacement for libudev(3) and libudev.h.
18
19       See
20
21           sd_device_get_syspath(3),
22           sd_device_ref(3)
23
24       for more information about the functions available.
25

NOTES

27       These APIs are implemented as a shared library, which can be compiled
28       and linked to with the libsystemd pkg-config(1) file.
29

SEE ALSO

31       systemd(1), sd-event(3), udevadm(8)
32
33
34
35systemd 251                                                       SD-DEVICE(3)
Impressum