1: /*
   2:  * Copyright (c) 1983 Regents of the University of California.
   3:  * All rights reserved.  The Berkeley software License Agreement
   4:  * specifies the terms and conditions for redistribution.
   5:  */
   6: 
   7: #ifdef SYSLIBC_SCCS
   8: _sccsid:.asciz  "@(#)fork.c	5.3 (Berkeley) 3/9/86"
   9: #endif SYSLIBC_SCCS
  10: 
  11: #include "SYS.h"
  12: 
  13: SYSCALL(fork)
  14:     jlbc    r1,1f   # parent, since r1 == 0 in parent, 1 in child
  15:     clrl    r0
  16: 1:
  17:     ret     # pid = fork()

Defined functions

SYSCALL defined in line 8; never used
Last modified: 1986-03-10
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 581
Valid CSS Valid XHTML 1.0 Strict