19990502 sourceware import
[deliverable/binutils-gdb.git] / libiberty / waitpid.c
CommitLineData
252b5132
RH
1int
2waitpid (pid, stat_loc, options)
3 int pid, *stat_loc, options;
4{
5 for (;;)
6 {
7 int wpid = wait(stat_loc);
8 if (wpid == pid || wpid == -1)
9 return wpid;
10 }
11}
This page took 0.031716 seconds and 4 git commands to generate.