11/3/71 | SYS_FORK (II) |
| |
NAME |
fork -- spawn new process |
SYNOPSIS |
sys fork / fork = 2.(new process return) |
| |
| (old process return) |
DESCRIPTION |
fork is the only way new processes are created. The newprocess's core image is a copy of that of the caller of |
| |
| fork the only distinction is the return location and thefact that r0 in the old process contains the process ID of the new process. This process ID is used by wait. |
FILES |
|
SEE_ALSO |
sys wait, sys exec |
DIAGNOSTICS |
The error bit (c--bit) is set in the old process if a newprocess could not be created because of lack of swap |
| |
| space. |
BUGS |
See wait for a subtle bug in process destruction. |
OWNER |
ken, dmr |
| |
| |