pupy/client/sources-linux/daemonize.h

11 lines
204 B
C
Raw Normal View History

2016-08-23 16:48:10 +00:00
#ifndef DAEMONIZE_H
#define DAEMONIZE_H
#include <unistd.h>
#include <stdbool.h>
#include <sys/types.h>
2016-08-23 16:48:10 +00:00
2017-03-03 11:34:14 +00:00
pid_t daemonize(int argc, char *argv[], char *env[], bool exit_parent);
2016-08-23 16:48:10 +00:00
#endif /* DAEMONIZE_H */