man -s 4 proc
Working for, but definitely not speaking for, Sun Microsystems, Inc.
I have a program that forks a process. I would like the process that
did the forking to be able to get the status of the forked process.
The parent process has the process ID of the forked process. How do I
find what the exit status of the forked process is (if it has exited),
or some piece of information that would allow me to conclude that the
process is still running? Any help is appreciated.
I am using the execvp( ) call after the fork in the child process.
4. cpio listing
6. BinHex 4.0