the best form to wait the finish of execution of a child...

zean zean fbsd.hackers at gmail.com
Wed Mar 30 10:17:47 PST 2005


Hi Hackers:

Excuse for my badly English.  which is the best form to wait  the
finish of execution of a child.

My idea is:

pid_t chilpid;

while(childpid != wait(&status))
;

Any aid to obtain the best way is very welcome.  

PD. Excuse my ignorance and I hope they can guide me.  

Bye and thanxs ;)


More information about the freebsd-hackers mailing list