GuoWenxue
2022-04-22 0fd2ff9f9aca1f30d6b4620f90802223cc221fe0
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);