santosh wrote
(in article
<11*********************@z14g2000cwz.googlegroups. com>):
satya wrote: fork() does't return 2 vaule. it return only one vaule. on success it
returns '0' and of failure it returns '--ve' value.
Correction, it returns the child-process id to the parent process.
Correction, it can return anything, because it's not part of
standard C. On my Whizbang3 OS, it returns an array of pointers
to foods best eaten with a fork, and takes an optional parameter
to include spork matches in the results.
--
Randy Howard (2reply remove FOOBAR)
"The power of accurate observation is called cynicism by those
who have not got it." - George Bernard Shaw