File: daemonize.h

package info (click to toggle)
superd 0.0.3-4
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 136 kB
  • ctags: 85
  • sloc: ansic: 721; makefile: 103; sh: 27
file content (15 lines) | stat: -rw-r--r-- 304 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef DAEMONIZE_H
#define DAEMONIZE_H

/* sys/types.h is needed because although the linux man page only lists unistd.h
   as a requirement for fork(), pid_t is defined in sys/types.h
*/
#include <sys/types.h>
#include <unistd.h>
#include <sys/stat.h>

#include "wrappers.h"

void daemonize();

#endif