repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Pass 9th fp argument correctly on System V/eabi; Add @plt for -fPIC/-mrelocatable
[official-gcc.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
}