Simulating vfork under SCO Xenix

Jim Beveridge jim at newmedia.UUCP
Tue Jan 29 01:50:07 AEST 1991


In article <345 at lccinc.UUCP>, bent at lccinc.UUCP (Ben Taylor) writes:
> I am currently working on getting tcl working under Xenix, and have solved
> some initial problems.  However, not having much berkeley background,
> I am unfamiliar with vfork.  I know what its supposed to do, but I'm
> not sure how to make Xenix simulate it.  Anyone have suggestions?

vfork() gives you some performance gains over fork().  From the
SunOS 4.1 manual, we get, "vfork() can be used to create new
processes without fully copying the address space of the old
process, which is horrendously inefficient in a paged environment.
It is useful when the purpose of fork() would have been to create
a new system context for execve."

The simplest solution is:

#define vfork fork


		Jim



More information about the Comp.unix.xenix.sco mailing list