From c5eae9453fc0decdfc7bcaeec50d04eb395340dd Mon Sep 17 00:00:00 2001 From: Michal Sojka Date: Sun, 20 Jun 2010 10:45:14 +0200 Subject: [PATCH 1/1] Document forb_daemon_ready() --- src/daemon.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/daemon.c b/src/daemon.c index 5e51b10..a734136 100644 --- a/src/daemon.c +++ b/src/daemon.c @@ -43,6 +43,10 @@ void forb_daemon_prepare(const char *pid) } } +/** + * Signal the parent that the daemon is ready so that the parent can + * exit(). + */ void forb_daemon_ready() { if (daemon_pipe[1]) -- 2.39.2