Salad
1.0.15
|
#include <errno.h>
#include <grp.h>
#include <pwd.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <unistd.h>
#include "salad/daemon.h"
Functions | |
void | sld_daemon_daemonize (char *pid_file_name, char *runas_user, char *runas_group) |
Executes code contained in sld_daemon_start() as a background process using the specified options. More... | |
pid_t | sld_daemon_write_pid_file (char *pid_file_name) |
Writes the PID (process ID) to the specified file. More... | |