X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=man%2Fsd_booted.xml;fp=man%2Fsd_booted.xml;h=d6e9be16e096102b139fc16f47f00281950f9a8d;hp=d9c4013c04365a284103d7514b73c07427995a71;hb=eb0e417895c37dbdb64f18ae95c6b1a7a99f871e;hpb=df890458e39a14b95f8a2c88e8e1c1815e1320d2 diff --git a/man/sd_booted.xml b/man/sd_booted.xml index d9c4013c0..d6e9be16e 100644 --- a/man/sd_booted.xml +++ b/man/sd_booted.xml @@ -3,22 +3,22 @@ "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"> sd_booted - systemd + elogind Developer - Lennart - Poettering - lennart@poettering.net + Sven + Eden + sven.eden@gmx.de.net @@ -50,7 +50,7 @@ - #include <systemd/sd-daemon.h> + #include <elogind/sd-daemon.h> int sd_booted @@ -61,34 +61,21 @@ Description - sd_booted() checks whether the system - was booted up using the systemd init system. + sd_booted() is a compatibility function + that will always return 0. elogind is not meant to be used on systems + that are booted with systemd. Use systemd-login on such systems. Return Value - On failure, this call returns a negative errno-style error - code. If the system was booted up with systemd as init system, - this call returns a positive return value, zero otherwise. - - - - Notes - - - - 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. + This function always returns zero. See Also - systemd1, - sd-daemon3 + elogind8,