Root/tools/include/daemon.h

Source at commit 49e7c83796bc04941e9dbcec69bc0751563ff4d4 created 2 years 8 months ago.
By Werner Almesberger, atusb/: use ""VDD" symbol from kicad-libs
1/*
2 * include/daemon.h - Helper functions for proper daemonification
3 *
4 * Written 2011 by Werner Almesberger
5 * Copyright 2011 Werner Almesberger
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
11 */
12
13
14#ifndef DAEMON_H
15#define DAEMON_H
16
17#include <unistd.h>
18
19
20pid_t daemonize(void);
21
22#endif /* !DAEMON_H */
23

Archive Download this file



interactive