Teonet library
0.4.7
|
#include "config/conf.h"
Go to the source code of this file.
Functions | |
void | start_stop_daemon (char **argv, teonet_cfg *conf) |
Start or stop daemon mode. More... | |
Created on September 4, 2015, 11:21 PM
void start_stop_daemon | ( | char ** | argv, |
teonet_cfg * | conf | ||
) |
Start or stop daemon mode.
argv | Application argv argument |
conf | Pointer to teonet_cfg structure |
References check_pid(), teonet_cfg::dflag, ERROR_M, FALSE, init_pidfile(), teonet_cfg::kflag, kill_other(), kill_pidfile(), ksnet_printf(), teonet_cfg::port, read_pidfile(), remove_pidfile(), and write_pidfile().
Referenced by ksnet_optRead().