>
> You do not initialize the "status" variable passed to wait(), this is
> probably why it crashes on SunOS. "status" could contain anything,
> any value, and probably it contains garbage or a wild pointer.
Execuse me. I didn't well defined my problem. SegFault? ignore it.
Problem is sequence error.
if (pid = fork())
printf("Main Program");
else
printf("Child Program");
it's clear?
>
> Later,
> David S. Miller
> davem@redhat.com
>
Yavuz
---------------------------
The FORCE will be with you.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/