1/* 2 * Copyright (c) 1983 Regents of the University of California. 3 * All rights reserved. 4 * 5 * %sccs.include.redist.c% 6 */ 7 8#if defined(SYSLIBC_SCCS) && !defined(lint) 9 .asciz "@(#)fork.s 5.6 (Berkeley) 06/01/90" 10#endif /* SYSLIBC_SCCS and not lint */ 11 12#include "SYS.h" 13 14SYSCALL(fork) 15 jlbc r1,1f # parent, since r1 == 0 in parent, 1 in child 16 clrl r0 171: 18 ret # pid = fork() 19