From 97112ff6f4f2a1dcd4c7f8a7512e0a4a02a2a332 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Wed, 13 Dec 2000 16:29:09 +0000 Subject: Handle fork and vfork on a per architecture basis... --- libc/sysdeps/linux/common/syscalls.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'libc/sysdeps/linux/common/syscalls.c') diff --git a/libc/sysdeps/linux/common/syscalls.c b/libc/sysdeps/linux/common/syscalls.c index 144581028..c0630e1fd 100644 --- a/libc/sysdeps/linux/common/syscalls.c +++ b/libc/sysdeps/linux/common/syscalls.c @@ -36,10 +36,7 @@ _syscall1(void, _exit, int, status); #endif //#define __NR_fork 2 -#ifdef L_fork -#include -_syscall0(pid_t, fork); -#endif +//See architecture specific implementation... //#define __NR_read 3 #ifdef L_read @@ -791,6 +788,7 @@ _syscall1(int, fsync, int, fd); //int sigreturn(unsigned long __unused); //#define __NR_clone 120 +//See architecture specific implementation... //#define __NR_setdomainname 121 #ifdef L_setdomainname @@ -1060,3 +1058,6 @@ SYSCALL__(poll, 3) //#define __NR_putpmsg 189 //#define __NR_vfork 190 +//See architecture specific implementation... + + -- cgit v1.2.3