summaryrefslogtreecommitdiffstats
path: root/libdaemon/dexec.h
diff options
context:
space:
mode:
Diffstat (limited to 'libdaemon/dexec.h')
-rw-r--r--libdaemon/dexec.h3
1 files changed, 2 insertions, 1 deletions
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.