TIP: Click on subject to list as thread! ANSI
echo: cis.os9.68000.osk
to: MAS 76336,3226 (X)
from: James Jones 76257,562
date: 1990-10-26 18:09:48
subject: #7780-Help with C

#: 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.

SOURCE: compuserve via textfiles.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.