From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <599f06db0802180157t2ac529e6t53fdf1c8f7813b2f@mail.gmail.com> Date: Mon, 18 Feb 2008 10:57:10 +0100 From: "Gorka Guardiola" To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu> Subject: Re: [9fans] Google search of the day In-Reply-To: <47B5D5D6.B17D7D10@null.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <140e7ec30802150131u7961c91at4b9bbe08f04705f0@mail.gmail.com> <47B5D5D6.B17D7D10@null.net> Topicbox-Message-UUID: 592821f4-ead3-11e9-9d60-3106f5b1d025 On Feb 18, 2008 10:48 AM, Douglas A. Gwyn wrote: > sqweek wrote: > > Is there a fork analog in plan 9? > > rfork, which is more general in that the program can specify > in more detail which resources are to be shared and which are > to be copied. > Or even better, fork(2) which is a library function enveloping rfork(2): int fork(void) { return rfork(RFPROC|RFFDG|RFREND); } -- - curiosity sKilled the cat