case for fork in syscall.c