Provided by: libelogind-dev-doc_239.3+20190131-1+debian1_all
sd_booted - Test whether the system is running the systemd init system
#include <elogind/sd-daemon.h> int sd_booted(void);
sd_booted() checks whether the system was booted up using the systemd init system.
As it makes no sense to use elogind on a system that is using systemd as its init system, this function always returns 0.