You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

10 line
266 B

  1. /*
  2. * daemonise.h:
  3. * Fairly generic "Turn the current process into a daemon" code.
  4. *
  5. * Copyright (c) 2016-2017 Gordon Henderson.
  6. *********************************************************************************
  7. */
  8. extern void daemonise (const char *pidFile) ;