Salad  1.0.15
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Functions
daemon.h File Reference
#include <sys/types.h>

Go to the source code of this file.

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...
 
void sld_daemon_start ()
 Wrap code within this function to execute it as a background process. More...
 
pid_t sld_daemon_write_pid_file (char *pid_file_name)
 Writes the PID (process ID) to the specified file. More...