Fork and Execl

Guy Harris guy at sun.uucp
Sun Feb 23 21:30:48 AEST 1986


> Neglecting certain funny versions of 4.2 as done by National Semiconductor,
> the fork creates a totally seperate copy of all the nonshared program
> sections....

Other UNIX implementations do "copy-on-write" forks too, such as the paging
S5 versions from AT&T-IS.  I suspect some independently-done paging V7/S3/S5
versions and other 4BSD ports do so.

"copy-on-write" doesn't affect the behavior of programs other than (one
hopes) making them run faster, so even on "copy-on-write" systems one can
think of the fork copying all the nonshared sections.
-- 
	Guy Harris
	{ihnp4, decvax, seismo, decwrl, ...}!sun!guy
	guy at sun.arpa	(yes, really)



More information about the Comp.lang.c mailing list