уведомлять сервисного менеджера о завершении запуска и других изменениях статуса сервиса (notify service manager about start-up completion and other service status changes)
Синопсис (Synopsis)
#include <systemd/sd-daemon.h>
int sd_notify(int unset_environment, const char *state);
int sd_notifyf(int unset_environment, const char *format, ...);
int sd_pid_notify(pid_t pid, int unset_environment,
const char *state);
int sd_pid_notifyf(pid_t pid, int unset_environment,
const char *format, ...);
int sd_pid_notify_with_fds(pid_t pid, int unset_environment,
const char *state, const int *fds,
unsigned n_fds);
int sd_notify_barrier(int unset_environment, uint64_t timeout);