* configure.tgt (targ_extra_ofiles): Enable elf64_sparc on
[binutils.git] / libiberty / waitpid.c
blob23db0b932d2e2c9d5d6b9b3a561e420e04ac54b9
1 int
2 waitpid (pid, stat_loc, options)
3 int pid, *stat_loc, options;
5 for (;;)
7 int wpid = wait(stat_loc);
8 if (wpid == pid || wpid == -1)
9 return wpid;