From f5faeff83458b4dc618ca83edd2dd33dbe63c15d Mon Sep 17 00:00:00 2001 From: "\"Steven J. Hill\"" Date: Fri, 22 Jul 2005 07:16:50 +0000 Subject: Add in MIPS-specific implementation of 'vfork' and clean up other files in NPTL to fit within the uClibc infrastructure. --- include/unistd.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') diff --git a/include/unistd.h b/include/unistd.h index ab8e4b31a..dfe06c5b2 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -635,7 +635,11 @@ extern int setresgid (__gid_t __egid, __gid_t __rgid, __gid_t __sgid); /* Clone the calling process, creating an exact copy. Return -1 for errors, 0 to the new process, and the process ID of the new process to the old process. */ +#ifdef __PTHREADS_NATIVE__ +extern __pid_t __fork (void) __THROW; +#else extern __pid_t fork (void) __THROW; +#endif #if defined __USE_BSD || defined __USE_XOPEN_EXTENDED /* Clone the calling process, but without copying the whole address space. -- cgit v1.2.3