How to know on termination or exit of a perticular process in Unix
I have a process XYD with PID ABC and i want to get intimated on the exit or termination of this process. Is there are any system call which helps to achive this. And one more thing is i dont want to use /proc file system or any unix flavor dependent calls like "PS -xy" or TOP & etc.....
Making still more clarifications...
i am writing a Unix script but now a C program, so lot of limitations are there. More things to add are i dont want to use any blocking commands like wait, sleep and i have issues with Signals so dont even want to use signals as signals work only within the process family (Ex. SIGCLD).
Last edited by Pavan mahoorker; 06-07-2005 at 06:51 AM.