Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
strace
/
f915f220c00ac062e14ba1a862dd18ef5424ec3e
/
.
/
linux
/
hppa
/
get_scno.c
blob: 7da2fc403167c6c760dfca2d78b8f42af0a6225f [
file
] [
log
] [
blame
]
/* Return codes: 1 - ok, 0 - ignore, other - error. */
static
int
arch_get_scno
(
struct
tcb
*
tcp
)
{
return
upeek
(
tcp
->
pid
,
PT_GR20
,
&
tcp
->
scno
)
<
0
?
-
1
:
1
;
}