1LIBSYSTEMD(3)                     libsystemd                     LIBSYSTEMD(3)
2
3
4

NAME

6       libsystemd - Functions for implementing services and interacting with
7       systemd
8

SYNOPSIS

10       #include <systemd/sd-bus.h>
11       #include <systemd/sd-bus-vtable.h>
12       #include <systemd/sd-bus-protocol.h>
13       #include <systemd/sd-daemon.h>
14       #include <systemd/sd-device.h>
15       #include <systemd/sd-event.h>
16       #include <systemd/sd-gpt.h>
17       #include <systemd/sd-hwdb.h>
18       #include <systemd/sd-id128.h>
19       #include <systemd/sd-journal.h>
20       #include <systemd/sd-login.h>
21       #include <systemd/sd-messages.h>
22       #include <systemd/sd-path.h>
23
24
25       pkg-config --cflags --libs libsystemd
26

DESCRIPTION

28       The libsystemd library provides functions that allow interacting with
29       various interfaces provided by the systemd(1) service manager, as well
30       as various other functions and constants useful for implementing
31       services in general.
32
33       See sd-bus(3), sd-bus-errors(3), sd-daemon(3), sd-device(3), sd-
34       event(3), sd-hwdb(3), sd-id128(3), sd-journal(3), and sd-login(3) for
35       information about different parts of the library interface.
36

INTERFACE STABILITY

38       Strict backwards-compatibility is maintained for the API (application
39       programming interface) and ABI (application binary interface). Symbol
40       versioning is used, with symbols only added and never removed.
41

NOTES

43       Functions described here are available as a shared library, which can
44       be compiled against and linked to with the libsystemd pkg-config(1)
45       file.
46
47       The code described here uses getenv(3), which is declared to be not
48       multi-thread-safe. This means that the code calling the functions
49       described here must not call setenv(3) from a parallel thread. It is
50       recommended to only do calls to setenv() from an early phase of the
51       program when no other threads have been started.
52

SEE ALSO

54       systemd(1), libudev(1), pkg-config(1), Interface Portability and
55       Stability Promise[1]
56

NOTES

58        1. Interface Portability and Stability Promise
59           https://systemd.io/PORTABILITY_AND_STABILITY/
60
61
62
63systemd 254                                                      LIBSYSTEMD(3)
Impressum