add pidfile for daemon

This commit is contained in:
Cloud Wu
2014-05-23 13:24:02 +08:00
parent 1ce90b7d17
commit 8005b55ef5
8 changed files with 116 additions and 6 deletions

View File

@@ -0,0 +1,7 @@
#ifndef skynet_daemon_h
#define skynet_daemon_h
int daemon_init(const char *pidfile);
int daemon_exit(const char *pidfile);
#endif