Debian Codegraph @

upstream/debian-unstable/man3/sd-hwdb.3

raw
1 '\" t
2 .TH "SD\-HWDB" "3" "" "systemd 261~rc3" "sd-hwdb"
3 .\" -----------------------------------------------------------------
4 .\" * Define some portability stuff
5 .\" -----------------------------------------------------------------
6 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7 .\" http://bugs.debian.org/507673
8 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
9 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10 .ie \n(.g .ds Aq \(aq
11 .el .ds Aq '
12 .\" -----------------------------------------------------------------
13 .\" * set default formatting
14 .\" -----------------------------------------------------------------
15 .\" disable hyphenation
16 .nh
17 .\" disable justification (adjust text to left margin only)
18 .ad l
19 .\" -----------------------------------------------------------------
20 .\" * MAIN CONTENT STARTS HERE *
21 .\" -----------------------------------------------------------------
22 .SH "NAME"
23 sd-hwdb \- Read\-only access to the hardware description database
24 .SH "SYNOPSIS"
25 .sp
26 .ft B
27 .nf
28 #include <systemd/sd\-hwdb\&.h>
29 .fi
30 .ft
31 .HP \w'\fBpkg\-config\ \-\-cflags\ \-\-libs\ libsystemd\fR\ 'u
32 \fBpkg\-config \-\-cflags \-\-libs libsystemd\fR
33 .SH "DESCRIPTION"
34 .PP
35 sd\-hwdb\&.h
36 is part of
37 \fBlibsystemd\fR(3)
38 and allows read\-only access the systemd database of hardware properties\&. See
39 \fBhwdb\fR(7)
40 and
41 \fBsystemd-hwdb\fR(8)
42 for more information about the database\&.
43 .PP
44 See
45 \fBsd_hwdb_new\fR(3)
46 and
47 \fBsd_hwdb_get\fR(3)
48 for information about the functions available\&.
49 .SH "NOTES"
50 .PP
51 Functions described here are available as a shared library, which can be compiled against and linked to with the
52 \fBlibsystemd\fR\ \&\fBpkg-config\fR(1)
53 file\&.
54 .PP
55 The code described here uses
56 \fBgetenv\fR(3), which is declared to be not multi\-thread\-safe\&. This means that the code calling the functions described here must not call
57 \fBsetenv\fR(3)
58 from a parallel thread\&. It is recommended to only do calls to
59 \fBsetenv()\fR
60 from an early phase of the program when no other threads have been started\&.
61 .SH "SEE ALSO"
62 .PP
63 \fBsystemd\fR(1), \fBsystemd-udevd.service\fR(8)