Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Mar 2005 14:17:43 -0400
From:      zean zean <fbsd.hackers@gmail.com>
To:        freebsd-hackers@freebsd.org
Subject:   the best form to wait the finish of execution of a child...
Message-ID:  <a9e342b5050330101771e53d6f@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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 ;)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a9e342b5050330101771e53d6f>