From 5e88553351ad70b610f1e2197699b87ab0f9da18 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sat, 10 Sep 2005 09:52:24 +0000 Subject: * add a "const" to daemon_log_ident * fix log message in dfork.c * in dexec.c: call waitpid() in a loop and ignore EINTR * add a "const" to daemon_log_ident * minor doc update git-svn-id: file:///home/lennart/svn/public/libdaemon/trunk@90 153bfa13-eec0-0310-be40-b0cb6a0e1b4b --- libdaemon/dexec.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libdaemon/dexec.h') diff --git a/libdaemon/dexec.h b/libdaemon/dexec.h index dd863fc..4bcc48d 100644 --- a/libdaemon/dexec.h +++ b/libdaemon/dexec.h @@ -38,7 +38,8 @@ extern "C" { * specified directory and return the return value of the program in * the specified pointer. The calling process is blocked until the * child finishes and all child output (either STDOUT or STDIN) has - * been written to syslog. + * been written to syslog. Running this function requires that + * daemon_siginal() has been called with SIGCHLD as argument. * * @param dir Working directory for the process. * @param ret A pointer to an integer to write the return value of the program to. -- cgit