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 00000000..cd91ea07
--- /dev/null
+++ b/bsd-daemon.h
@@ -0,0 +1,9 @@
+#ifndef _BSD_DAEMON_H
+#define _BSD_DAEMON_H
+
+#include "config.h"
+#ifndef HAVE_DAEMON
+int daemon(int nochdir, int noclose);
+#endif /* !HAVE_DAEMON */
+
+#endif /* _BSD_DAEMON_H */