1987-02-23 18:58:58 +00:00
|
|
|
#include "syscall.h"
|
|
|
|
DEFINE(_fork)
|
|
|
|
chmk $SYS_fork
|
1990-01-11 16:00:19 +00:00
|
|
|
bcs Ierr
|
|
|
|
blbc r1,Iparent
|
1987-02-23 18:58:58 +00:00
|
|
|
clrl r0
|
1990-01-11 16:00:19 +00:00
|
|
|
Iparent:
|
1987-02-23 18:58:58 +00:00
|
|
|
ret
|
1990-01-11 16:00:19 +00:00
|
|
|
Ierr:
|
1987-02-23 18:58:58 +00:00
|
|
|
jmp cerror
|