[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: fork & execve

--- 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

> exec*() functions are used to start new process. the
> current process is
> replaced by the new process.
> -- 
> Anand Biligiri S
> ---------------------------------------------
> Find out more about this and other Linux India
> mailing lists at http://lists.linux-india.org/

Do You Yahoo!?
Yahoo! Photos - Share your holiday photos online!