Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: peter@nmti.com (Peter da Silva)
Subject: Re: Fork bug in Sys5 (or similar) system
Date: Wed, 1 Jun 1994 22:06:44 GMT	[thread overview]
Message-ID: <id.DY_91.Q2D@nmti.com> (raw)
In-Reply-To: 2sg3h3$onq@overload.lbl.gov

In article <2sg3h3$onq@overload.lbl.gov>,
Guojun Jin[ITG] <jin@eubie.lbl.gov> wrote:
> The fork() should duplicate the parent space to its child without any changes.

It does.

> In this testing program, doing fflush() on input is not meanful, except
> re-postioning the file point postion (does this mean that system keep two
> positions for one file ??? Very poor implementation).

The system keeps one, the standard I/O library keeps one. If you think about
it, that's the only way it could possibly be implemented.

Sun apparently synchronises these two pointers on close.
-- 
Peter da Silva                                            `-_-'
Network Management Technology Incorporated                 'U`
1601 Industrial Blvd.     Sugar Land, TX  77478  USA
+1 713 274 5180                       "Hast Du heute schon Deinen Wolf umarmt?"


      parent reply	other threads:[~1994-06-01 22:06 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-05-25 22:16 Fork bug in Sys5 (or similar) system Guojun Jin[ITG]
1994-05-26  7:52 ` Casper H.S. Dik
1994-05-26 18:16   ` William Armitage
1994-05-27  8:48     ` Casper H.S. Dik
1994-05-27 12:59       ` Dave Johnson
1994-05-27 13:40         ` Casper H.S. Dik
1994-05-28  2:51           ` Doug Gwyn (ACISD/MCSB) <gwyn>
1994-05-31  1:25     ` Peter da Silva
1994-05-26 18:08 ` Doug Gwyn (ACISD/MCSB) <gwyn>
1994-05-31 19:34   ` Guojun Jin[ITG]
1994-05-31 20:07     ` Casper H.S. Dik
1994-06-01 22:06     ` Peter da Silva [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox