From 0dca115912f5d64c96f14876fff3bd582a8c4a1b Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 7 Apr 2009 05:52:48 +0000 Subject: implement daemon() using clone() on no-mmu systems as suggested by Jamie Lokier --- include/unistd.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include') 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. */ -- cgit v1.2.3