xref: /csrg-svn/lib/libc/vax/sys/fork.s (revision 61222)
121806Sdist/*
2*61222Sbostic * Copyright (c) 1983, 1993
3*61222Sbostic *	The Regents of the University of California.  All rights reserved.
434391Sbostic *
542642Sbostic * %sccs.include.redist.c%
621806Sdist */
79453Smckusick
834391Sbostic#if defined(SYSLIBC_SCCS) && !defined(lint)
9*61222Sbostic	.asciz "@(#)fork.s	8.1 (Berkeley) 06/04/93"
1034391Sbostic#endif /* SYSLIBC_SCCS and not lint */
1121806Sdist
129453Smckusick#include "SYS.h"
139453Smckusick
149453SmckusickSYSCALL(fork)
159453Smckusick	jlbc	r1,1f	# parent, since r1 == 0 in parent, 1 in child
169453Smckusick	clrl	r0
179453Smckusick1:
189453Smckusick	ret		# pid = fork()
19