39#define DAEMON_EXEC_AVAILABLE 1
41#if defined(__GNUC__) && ! defined(DAEMON_GCC_SENTINEL)
42#define DAEMON_GCC_SENTINEL __attribute__ ((sentinel))
45#define DAEMON_GCC_SENTINEL
68#define DAEMON_EXECV_AVAILABLE 1
73int daemon_execv(
const char *dir,
int *ret,
const char *prog, va_list ap);
#define DAEMON_GCC_SENTINEL
A macro for making use of GCCs printf compilation warnings.
int daemon_exec(const char *dir, int *ret, const char *prog,...) DAEMON_GCC_SENTINEL
Run the specified executable with the specified arguments in the specified directory and return the r...
int daemon_execv(const char *dir, int *ret, const char *prog, va_list ap)
The same as daemon_exec, but without variadic arguments.