poser
A C framework for POsix SERvices
Loading...
Searching...
No Matches
daemon.h File Reference

declarations for the PSC_Daemon class More...

#include <poser/decl.h>

Go to the source code of this file.

Typedefs

typedef int(* PSC_Daemon_main) (void *data)
 Main function for a daemon.
 

Detailed Description

declarations for the PSC_Daemon class

Typedef Documentation

◆ PSC_Daemon_main

typedef int(* PSC_Daemon_main) (void *data)

Main function for a daemon.

This is called by PSC_Daemon_run() in a detached child process.

Parameters
datapointer to some custom data
Returns
an exit code