From 6a70f3aa63a3b7a6a30448c48322ad38b719cdce Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Thu, 20 Feb 2014 22:39:26 -0500 Subject: [PATCH] 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 3d4356019..aad3f444d 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 000000000..56a72e109 --- /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 9eef395de..2b4f3a559 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 1d4271085..5a4146a0f 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 ca7e2f3ef..7a05aee95 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 a0df90377..e68f4fd81 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 f699cefb1..28c153a32 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 60684bcee..bb851d163 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 88fb77bd2..6999db980 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 3e530757c..6bf823076 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 0e4df3750..88d1e5b8d 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 -- 2.30.2