9f6565f2bd
two ways: - the child gets its pid as retval[0] (userland stub will turn it into a 0), retval[1] is 1 and it is 0 in the parent. - in the child, the fork syscall is successful, hence we must skip the next instruction.
4 lines
106 B
C
4 lines
106 B
C
/* $NetBSD: darwin_machdep.h,v 1.1 2002/12/08 21:53:15 manu Exp $ */
|
|
|
|
#include <powerpc/darwin_machdep.h>
|