xref: /original-bsd/lib/libc/vax/sys/fork.s (revision 514cbc2d)
1/*
2 * Copyright (c) 1983, 1993
3 *	The Regents of the University of California.  All rights reserved.
4 *
5 * %sccs.include.redist.c%
6 */
7
8#if defined(SYSLIBC_SCCS) && !defined(lint)
9	.asciz "@(#)fork.s	8.1 (Berkeley) 06/04/93"
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