summaryrefslogtreecommitdiff
path: root/bsd-daemon.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>1999-11-19 15:32:34 +1100
committerDamien Miller <djm@mindrot.org>1999-11-19 15:32:34 +1100
commit04f801456ad64b8f08bb8643cf19e0b9ca477b36 (patch)
treea0fd23f758cb40cf808b8c18ced35d4045decee9 /bsd-daemon.h
parent8029775b77e8f8bc380518f9f734a9d979025bbb (diff)
- Renamed BSD helper function files to bsd-*
- Added tests for login and daemon and OpenBSD replacements for when they are absent.
Diffstat (limited to 'bsd-daemon.h')
-rw-r--r--bsd-daemon.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/bsd-daemon.h b/bsd-daemon.h
new file mode 100644
index 000000000..cd91ea07b
--- /dev/null
+++ b/bsd-daemon.h
@@ -0,0 +1,9 @@
1#ifndef _BSD_DAEMON_H
2#define _BSD_DAEMON_H
3
4#include "config.h"
5#ifndef HAVE_DAEMON
6int daemon(int nochdir, int noclose);
7#endif /* !HAVE_DAEMON */
8
9#endif /* _BSD_DAEMON_H */