int check_pid(int pid)
Search for process with pid.
Definition: pidfile.c:174
int write_pidfile()
Write current pid to the all pidfiles.
Definition: pidfile.c:119
void read_pidfile(int *port_pid)
Read current pid from the all pidfiles.
Definition: pidfile.c:160
void init_pidfile(int port)
Create the pid file name.
Definition: pidfile.c:56
void kill_pidfile()
Free the pid file name.
Definition: pidfile.c:76
void remove_pidfile()
Remove the pid files.
Definition: pidfile.c:191