diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-04-07 05:52:48 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-04-07 05:52:48 +0000 |
commit | 0dca115912f5d64c96f14876fff3bd582a8c4a1b (patch) | |
tree | b7e985afa922486952f6578e3bb3948d9c487838 /include | |
parent | 49e81cada73616864b9b31df0aeb6961c30f5a6e (diff) |
implement daemon() using clone() on no-mmu systems as suggested by Jamie Lokier
Diffstat (limited to 'include')
-rw-r--r-- | include/unistd.h | 2 |
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. */ |