Sign in
chromium
/
native_client
/
nacl-toolchain
/
gcc-4.4.3
/
.
/
newlib
/
newlib
/
libc
/
sys
/
sysvi386
/
waitpid.S
blob: 598099f91dfdb66edada23078be3ba5be9360124 [
file
] [
log
] [
blame
]
.globl _waitpid
.globl waitpid
_waitpid
:
waitpid
:
pushfl
popl %eax
orl
$
0x8c4
,
%eax
pushl %eax
popfl
movl
$
0x7
,
%eax
lcall
$
7
,$
0
jb _cerror
movl
8
(%esp), %
ecx
testl
%ecx, %
ecx
je bye
movl
%edx, (%
ecx
)
bye
:
ret