1SD-HWDB(3)                          sd-hwdb                         SD-HWDB(3)
2
3
4

NAME

6       sd-hwdb - Read-only access to the hardware description database
7

SYNOPSIS

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

DESCRIPTION

14       sd-hwdb.h is part of libsystemd(3) and allows read-only access the
15       systemd database of hardware properties. See hwdb(7) and systemd-
16       hwdb(8) for more information about the database.
17
18       See sd_hwdb_new(3) and sd_hwdb_get(3) for information about the
19       functions available.
20

NOTES

22       Functions described here are available as a shared library, which can
23       be compiled against and linked to with the libsystemd pkg-config(1)
24       file.
25
26       The code described here uses getenv(3), which is declared to be not
27       multi-thread-safe. This means that the code calling the functions
28       described here must not call setenv(3) from a parallel thread. It is
29       recommended to only do calls to setenv() from an early phase of the
30       program when no other threads have been started.
31

SEE ALSO

33       systemd(1), systemd-udevd.service(8)
34
35
36
37systemd 254                                                         SD-HWDB(3)
Impressum