Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
strace
/
d70d1c4aa6b9b2f4713d79f442dbf66a3f702c9b
/
.
/
linux
/
sh
/
get_syscall_result.c
blob: 3ee0546735c5f568e1eda5e06e8ebe9d35c48692 [
file
] [
log
] [
blame
]
/* new syscall ABI returns result in R0 */
if
(
upeek
(
tcp
->
pid
,
4
*
REG_REG0
,
(
long
*)&
sh_r0
)
<
0
)
return
-
1
;