/* * Copyright (c) 1983 Regents of the University of California. * All rights reserved. * * %sccs.include.redist.c% */ #if defined(SYSLIBC_SCCS) && !defined(lint) .asciz "@(#)fork.s 5.6 (Berkeley) 06/01/90" #endif /* SYSLIBC_SCCS and not lint */ #include "SYS.h" SYSCALL(fork) jlbc r1,1f # parent, since r1 == 0 in parent, 1 in child clrl r0 1: ret # pid = fork()