File: daemon.h

package info (click to toggle)
pcaputils 0.8-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 372 kB
  • sloc: ansic: 2,945; sh: 44; makefile: 38
file content (10 lines) | stat: -rw-r--r-- 279 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
#ifndef RSEUTIL_PIDFILE_H
#define RSEUTIL_PIDFILE_H

#define daemon_pidfile { 'P', "pidfile", CONFIG_STR, {}, NULL, "pid file" }

extern void envuidgid(void);
extern void pidfile_create(const char *pidfile);
extern void util_daemonize(char *program_name, char *pidfile);

#endif