diff options
author | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-07-22 07:16:50 +0000 |
---|---|---|
committer | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-07-22 07:16:50 +0000 |
commit | f5faeff83458b4dc618ca83edd2dd33dbe63c15d (patch) | |
tree | bcb91681964a240a692a0a08a5164bcb969611e9 /include | |
parent | 8a4b70a7f3d55ce8cdeba9775c7344c1a951bc79 (diff) | |
download | uClibc-alpine-f5faeff83458b4dc618ca83edd2dd33dbe63c15d.tar.bz2 uClibc-alpine-f5faeff83458b4dc618ca83edd2dd33dbe63c15d.tar.xz |
Add in MIPS-specific implementation of 'vfork' and clean up other files in NPTL to fit within the uClibc infrastructure.
Diffstat (limited to 'include')
-rw-r--r-- | include/unistd.h | 4 |
1 files changed, 4 insertions, 0 deletions
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. |