From 6a70f3aa63a3b7a6a30448c48322ad38b719cdce Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Thu, 20 Feb 2014 22:39:26 -0500 Subject: man: xinclude pkg-config note --- Makefile-man.am | 1 + man/libsystemd-pkgconfig.xml | 12 ++++++++++++ man/sd-daemon.xml | 12 +++--------- man/sd-id128.xml | 13 +++---------- man/sd-journal.xml | 12 +++--------- man/sd-login.xml | 12 +++--------- man/sd_booted.xml | 9 +++------ man/sd_is_fifo.xml | 8 +++----- man/sd_listen_fds.xml | 8 +++----- man/sd_notify.xml | 8 +++----- man/sd_watchdog_enabled.xml | 8 +++----- 11 files changed, 40 insertions(+), 63 deletions(-) create mode 100644 man/libsystemd-pkgconfig.xml diff --git a/Makefile-man.am b/Makefile-man.am index 3d43560199..aad3f444da 100644 --- a/Makefile-man.am +++ b/Makefile-man.am @@ -1328,6 +1328,7 @@ EXTRA_DIST += \ man/kernel-command-line.xml \ man/kernel-install.xml \ man/less-variables.xml \ + man/libsystemd-pkgconfig.xml \ man/locale.conf.xml \ man/localectl.xml \ man/localtime.xml \ diff --git a/man/libsystemd-pkgconfig.xml b/man/libsystemd-pkgconfig.xml new file mode 100644 index 0000000000..56a72e109b --- /dev/null +++ b/man/libsystemd-pkgconfig.xml @@ -0,0 +1,12 @@ + + + + + Notes + + These APIs are implemented as a shared + library, which can be compiled and linked to with the + libsystemd pkg-config1 + file. + diff --git a/man/sd-daemon.xml b/man/sd-daemon.xml index 9eef395deb..2b4f3a5598 100644 --- a/man/sd-daemon.xml +++ b/man/sd-daemon.xml @@ -21,7 +21,8 @@ along with systemd; If not, see . --> - + sd-daemon @@ -122,14 +123,7 @@ - - Notes - - These APIs are implemented as a shared library, - which can be compiled and linked to with the - libsystemd pkg-config1 - file. - + See Also diff --git a/man/sd-id128.xml b/man/sd-id128.xml index 1d42710855..5a4146a0f9 100644 --- a/man/sd-id128.xml +++ b/man/sd-id128.xml @@ -21,7 +21,8 @@ along with systemd; If not, see . --> - + sd-id128 @@ -152,15 +153,7 @@ option. - - Notes - - These APIs are implemented as a shared library, - which can be compiled and linked to with the - libsystemd pkg-config1 - file. - - + See Also diff --git a/man/sd-journal.xml b/man/sd-journal.xml index ca7e2f3ef6..7a05aee95f 100644 --- a/man/sd-journal.xml +++ b/man/sd-journal.xml @@ -21,7 +21,8 @@ along with systemd; If not, see . --> - + sd-journal @@ -95,14 +96,7 @@ tool. - - Notes - - These APIs are implemented as a shared library, - which can be compiled and linked to with the - libsystemd pkg-config1 - file. - + See Also diff --git a/man/sd-login.xml b/man/sd-login.xml index a0df90377c..e68f4fd819 100644 --- a/man/sd-login.xml +++ b/man/sd-login.xml @@ -21,7 +21,8 @@ along with systemd; If not, see . --> - + sd-login @@ -117,14 +118,7 @@ implemented. - - Notes - - These APIs are implemented as a shared library, - which can be compiled and linked to with the - libsystemd pkg-config1 - file. - + See Also diff --git a/man/sd_booted.xml b/man/sd_booted.xml index f699cefb14..28c153a324 100644 --- a/man/sd_booted.xml +++ b/man/sd_booted.xml @@ -21,7 +21,8 @@ along with systemd; If not, see . --> - + sd_booted @@ -76,17 +77,13 @@ Notes - These APIs are implemented as a shared library, - which can be compiled and linked to with the - libsystemd pkg-config1 - file. + Internally, this function checks whether the directory /run/systemd/system/ exists. A simple check like this can also be implemented trivially in shell or any other language. - diff --git a/man/sd_is_fifo.xml b/man/sd_is_fifo.xml index 60684bcee4..bb851d1638 100644 --- a/man/sd_is_fifo.xml +++ b/man/sd_is_fifo.xml @@ -21,7 +21,8 @@ along with systemd; If not, see . --> - + sd_is_fifo @@ -185,10 +186,7 @@ Notes - These APIs are implemented as a shared library, - which can be compiled and linked to with the - libsystemd pkg-config1 - file. + Internally, these function use a combination of fstat() and diff --git a/man/sd_listen_fds.xml b/man/sd_listen_fds.xml index 88fb77bd22..6999db9804 100644 --- a/man/sd_listen_fds.xml +++ b/man/sd_listen_fds.xml @@ -21,7 +21,8 @@ along with systemd; If not, see . --> - + sd_listen_fds @@ -121,10 +122,7 @@ Notes - These APIs are implemented as a shared library, - which can be compiled and linked to with the - libsystemd pkg-config1 - file. + Internally, this function checks whether the $LISTEN_PID environment variable diff --git a/man/sd_notify.xml b/man/sd_notify.xml index 3e530757ce..6bf8230763 100644 --- a/man/sd_notify.xml +++ b/man/sd_notify.xml @@ -21,7 +21,8 @@ along with systemd; If not, see . --> - + sd_notify @@ -211,10 +212,7 @@ Notes - These APIs are implemented as a shared library, - which can be compiled and linked to with the - libsystemd pkg-config1 - file. + Internally, these functions send a single datagram with the state string as payload to the diff --git a/man/sd_watchdog_enabled.xml b/man/sd_watchdog_enabled.xml index 0e4df37506..88d1e5b8de 100644 --- a/man/sd_watchdog_enabled.xml +++ b/man/sd_watchdog_enabled.xml @@ -21,7 +21,8 @@ along with systemd; If not, see . --> - + sd_watchdog_enabled @@ -115,10 +116,7 @@ Notes - These APIs are implemented as a shared library, - which can be compiled and linked to with the - libsystemd pkg-config1 - file. + Internally, this functions parses the $WATCHDOG_PID and -- cgit v1.2.3-54-g00ecf