> I understand that fork() creates a child proces. But is this exact like the
> proces it was called from?
Yes. At the time of return from fork() they will be
indistinguishable (with the exception of having different
pids, etc.)
Quote:> Maybe it is better when I have a tutorial on fork(). So does anyone know
> where a good tutorial is availble
> or some good and easy to understand example programs?
> thnx
> --
I would recommend that you read the FAQ, specifically the
section on fork() (actually, read the whole thing...you'll
be glad you did).
It can be found at:
URL: http://www.erlenstar.demon.co.uk/unix/faq_toc.html
or
URL: http://www.whitefang.com/unix/faq_toc.html
HTH,
--ag
--
Artie Gold, Austin, TX (finger the cs.utexas.edu account
for more info)
--
Verbing weirds language.