[comp.os.os9] Porting Unix software to OS-9

jejones@mcrware.UUCP (James Jones) (06/23/89)

In article <373@torch.UUCP> mc1@torch.UUCP (Mark Cook) writes:
>For example, how did you achieve the effects of a Unix fork() call?

OS-9's F$Fork is more in the nature of fork() + exec(); it would be
difficult to precisely emulate the semantics of the Unix fork().

>Is it possible to implement an arrangement similar to sockets?

Yes.  The simplest method might be to purchase the Ethernet package,
which includes such an arrangement. :-)

>How close in form is OS-9 to Unix?

Pretty close.  Its notion of process, signal, and file are like those of
Unix.

>Are the filesystems similar?

The big difference is that under OS-9 you have a forest of trees (one
tree per device), with no ficticious root created to be everyone's
parent.  There are good and bad points to this.  (You may also have
to go digging for a _ss_*() or _gs_*() call to correspond to an ioctl().)

	James Jones