summaryrefslogtreecommitdiffstats
path: root/libdaemon/dexec.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2005-09-10 09:52:24 +0000
committerLennart Poettering <lennart@poettering.net>2005-09-10 09:52:24 +0000
commit5e88553351ad70b610f1e2197699b87ab0f9da18 (patch)
tree41ba1a4b1f861e83dfc5bdfdbacb9b0c50cd82f4 /libdaemon/dexec.h
parent2948e925db6cbe9e355d6d8268e864b537ea63af (diff)
* 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
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.