|
peapod
0.1.0
EAPOL Proxy Daemon
|
Function prototypes for daemonize.c.
More...

Go to the source code of this file.
Functions | |
| void | daemonize (const char *pidfile) |
| Daemonize the program. More... | |
Function prototypes for daemonize.c.
| void daemonize | ( | const char * | pidfile | ) |
Daemonize the program.
Attempts to do so in the manner described in daemon(7) - forks twice, with the parent writing the PID of the second child to a PID file before exiting. The daemon child also adds $PWD to its environment, in case any scripts it executes require it.
| pidfile | Path to PID file |
1.8.11