Sign in
android
/
platform
/
external
/
strace
/
dd8cb652174137455695be67920c0b7069f84c68
/
.
/
linux
/
xtensa
/
get_scno.c
blob: 854a27959358239e57597a87ae9cd79965db0816 [
file
] [
log
] [
blame
]
/* Return codes: 1 - ok, 0 - ignore, other - error. */
static
int
arch_get_scno
(
struct
tcb
*
tcp
)
{
return
upeek
(
tcp
,
SYSCALL_NR
,
&
tcp
->
scno
)
<
0
?
-
1
:
1
;
}