GammaLib  2.1.0.dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
gammalibd.cpp File Reference

GammaLib daemon launcher. More...

#include <fcntl.h>
#include <unistd.h>
#include <cstdlib>
#include <cstdio>
#include <signal.h>
#include "GammaLib.hpp"

Go to the source code of this file.

Functions

int main (void)
 GammaLib daemon launcher. More...
 

Detailed Description

GammaLib daemon launcher.

Author
Juergen Knoedlseder

Definition in file gammalibd.cpp.

Function Documentation

int main ( void  )

GammaLib daemon launcher.

This executable launched the GammaLib daemon. Calling this executable during the initialisation of GammaLib will launch a daemon that has the correct process name on all platforms.

Definition at line 46 of file gammalibd.cpp.

References GDaemon::alive(), and GDaemon::start().