Annotation of researchv10dc/dist/man/v3/man2/fork.2, revision 1.1.1.1

1.1       root        1: .pa 1
                      2: .he 'FORK (II)'3/15/72'FORK (II)'
                      3: .ti 0
                      4: NAME           fork  --  spawn new process
                      5: .sp
                      6: .ti 0
                      7: SYNOPSIS       sys fork  / fork = 2.
                      8: .br
                      9: (new process return)
                     10: .br
                     11: (old process return)
                     12: .sp
                     13: .ti 0
                     14: DESCRIPTION    fork____
                     15: is the only way new processes are created.
                     16: The new process's core image is a copy of
                     17: that of the caller of fork____; the only distinction
                     18: is the return location and the fact
                     19: that r0 in the old process contains the process ID
                     20: of the new process.
                     21: This process ID is used by wait____.
                     22: .sp
                     23: .ti 0
                     24: SEE ALSO       wait(II), exec(II)
                     25: .sp
                     26: .ti 0
                     27: DIAGNOSTICS    The error bit
                     28: (c-bit) is set in the old process if a new process
                     29: could not be created because of lack of process space.
                     30: .sp
                     31: .ti 0
                     32: BUGS           See wait(II) for a subtile bug in process destruction.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.