Debian Codegraph @

yo/concrete/examples/waitforchild.cc

raw
1 #include "fork.ih"
2
3 int Fork::waitForChild()
4 {
5 int status;
6
7 waitpid(d_pid, &status, 0);
8
9 return WEXITSTATUS(status);
10 }