Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!samsung!know!newmedia!jim From: jim@newmedia.UUCP (Jim Beveridge) Newsgroups: comp.unix.xenix.sco Subject: Re: Simulating vfork under SCO Xenix Keywords: vfork Message-ID: <435@newmedia.UUCP> Date: 28 Jan 91 14:50:07 GMT References: <345@lccinc.UUCP> Organization: New Media Graphics, Billerica, MA Lines: 19 In article <345@lccinc.UUCP>, bent@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