sd_booted - Test whether the system is running the systemd init system

NAME  SYNOPSIS  DESCRIPTION  RETURN VALUE  SEE ALSO 

NAME

sd_booted − Test whether the system is running the systemd init system

SYNOPSIS

#include <elogind/sd−daemon.h>

int sd_booted(void);

DESCRIPTION

sd_booted() checks whether the system was booted up using the systemd init system.

RETURN VALUE

As it makes no sense to use elogind on a system that is using systemd as its init system, this function always returns 0.

SEE ALSO

elogind(8),

sd-daemon(3)


Updated 2024-01-29 - jenkler.se | uex.se