Data is shared between parent/child at the time fork() happens. Once the child is running though that changes. Parent and child are then independent of one another.
If you want a parent to communicate with the child after the fork there are a multitude of ways of doing that. Everything from duping STDIN,STDERR,STDOUT to using fifo devices to shared memory and semaphores. All depends on why you want the communication and how complicated you are willing to accomplish that goal.
In reply to Re^3: Help with Fork bomb
by blue_cowdawg
in thread Help with Fork bomb
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |