summaryrefslogtreecommitdiff
path: root/include/unistd.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-04-07 05:52:48 +0000
committerMike Frysinger <vapier@gentoo.org>2009-04-07 05:52:48 +0000
commit0dca115912f5d64c96f14876fff3bd582a8c4a1b (patch)
treeb7e985afa922486952f6578e3bb3948d9c487838 /include/unistd.h
parent49e81cada73616864b9b31df0aeb6961c30f5a6e (diff)
implement daemon() using clone() on no-mmu systems as suggested by Jamie Lokier
Diffstat (limited to 'include/unistd.h')
-rw-r--r--include/unistd.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/unistd.h b/include/unistd.h
index d59f049e5..71c1934db 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -956,12 +956,10 @@ extern void endusershell (void) __THROW; /* Discard cached info. */
extern void setusershell (void) __THROW; /* Rewind and re-read the file. */
-#ifdef __ARCH_USE_MMU__
/* Put the program in the background, and dissociate from the controlling
terminal. If NOCHDIR is zero, do `chdir ("/")'. If NOCLOSE is zero,
redirects stdin, stdout, and stderr to /dev/null. */
extern int daemon (int __nochdir, int __noclose) __THROW __wur;
-#endif
#endif /* Use BSD || X/Open. */