poser
A C framework for POsix SERvices
Loading...
Searching...
No Matches
daemon.h
Go to the documentation of this file.
1#ifndef POSER_CORE_DAEMON_H
2#define POSER_CORE_DAEMON_H
3
8#include <poser/decl.h>
9
19typedef int (*PSC_Daemon_main)(void *data);
20
34DECLEXPORT int
36 ATTR_NONNULL((1));
37
45DECLEXPORT void
47
48#endif
int PSC_Daemon_run(PSC_Daemon_main dmain, void *data)
Run as a daemon.
void PSC_Daemon_launched(void)
Notify parent that the daemon successfully started.
int(* PSC_Daemon_main)(void *data)
Main function for a daemon.
Definition: daemon.h:19