Путеводитель по Руководству Linux

  User  |  Syst  |  Libr  |  Device  |  Files  |  Other  |  Admin  |  Head  |



   sd_pid_notify    ( 3 )

уведомлять сервисного менеджера о завершении запуска и других изменениях статуса сервиса (notify service manager about start-up completion and other service status changes)

  Name  |    Synopsis    |  Description  |  Return value  |  Note  |  Environment  |  Examples  |  See also  |

Синопсис (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);