|
libusual
0.1
|
Daemonization & pidfile handling. More...
Functions | |
| bool | signal_pidfile (const char *pidfile, int sig) |
| Read a pid from pidfile and send a signal to it. | |
| void | daemonize (const char *pidfile, bool go_background) |
| Daemonize process and write pidfile. | |
Daemonization & pidfile handling.
| bool signal_pidfile | ( | const char * | pidfile, |
| int | sig | ||
| ) |
Read a pid from pidfile and send a signal to it.
| void daemonize | ( | const char * | pidfile, |
| bool | go_background | ||
| ) |
Daemonize process and write pidfile.
1.7.6.1