#: 7784 S12/OS9/68000 (OSK)
26-Oct-90 18:09:48
Sb: #7780-Help with C
Fm: James Jones 76257,562
To: MAS 76336,3226 (X)
Things differ between OS-9/6809 and OS-9/68000. Children only inherit the
standard paths under OS-9/6809 (0, 1, 2), while under OS-9/68000, the parent
can tell the system to have the child inherit the first n paths.
As you've already noticed, F$Fork is very definitely *not* Unix fork().
Copying all that state information is expensive! Admittedly it calls
for a bit of footwork with dup(), open(), and close(), but it can be done--I
think there is a file in a DL that describes it.
|