|
Have the child process call sleep(9999);
But why do you want that? If this is related your your other post, then I'd guess you're playing around with code, which is a good way to learn.
But, in the real world, unless you are building a daemon, you are wasting system resources by having a process park itself in memory for no reason.
|