repo.or.cz
/
binutils.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
file make-gas.com was initially added on branch binutils-2_10-branch.
[binutils.git]
/
libiberty
/
waitpid.c
blob
23db0b932d2e2c9d5d6b9b3a561e420e04ac54b9
1
int
2
waitpid
(
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
}