guowenxue
2021-04-22 2db120f65b048e309e232d454b732a92eb1688f9
iotd/lylib/util_proc.h
@@ -34,6 +34,9 @@
/* excute a linux command by system() */
extern void exec_system_cmd(const char *format, ...);
/* check program already running or not, if not then run it and record pid into $pidfile */
extern int check_set_program_running(int daemon, char *pidfile);
/* check program already running or not from $pid_file  */
extern int check_daemon_running(const char *pid_file);