Root/tools/include/daemon.h

Source at commit 805db6ebf5d80692158acadf88e239da9d3e67af created 6 years 3 months ago.
By Stefan Schmidt, fw/atusb: add extra steps needed for HULUSB in README
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