[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
Re: fork & execve
> On Fri, 12 Jan 2001, [iso-8859-1] sindhoor pangal wrote:
> > --- Anand Biligiri S <AnandS@xxxxxxxxxxxxx> wrote: >
> > fork() makes a copy of the current process. both the
> > > child and parent
> > > continue to run.
> > does that mean that all the environment variables and
> > the contex remain exactly the same for a chile process
> > ?
no. of the things remains same accross the fork ( parent -> child ) but
there are some properties that do changes with creation of child like
address space of the parent and child are different
full list of all of them can be got from manuals or from
"advance unix programming by stevens" see fork in it to get clear idea of