| [Insert name here] Reference Manual |
|---|
int prelude_daemonize (const char *lockfile);
Put the caller in the background. If lockfile is not NULL, a lock for this program is being created.
The lockfile is automatically unlinked on exit.
| lockfile : | Filename to a lockfile. |
| Returns : | 0 on success, -1 if an error occured. |
| <<< idmef-message-id | client-ident >>> |