*/
#include <unistd.h>
+#include <common/macros.h>
/*
* Daemonize this process by forking and making the parent wait for the child
*
* Return 0 on success else -1 on error.
*/
+LTTNG_HIDDEN
int lttng_daemonize(pid_t *child_ppid, int *completion_flag,
int close_fds);