Sign in
nest-open-source
/
nest-cam
/
4320010
/
strace
/
refs/heads/master
/
.
/
strace
/
linux
/
xtensa
/
get_scno.c
blob: d230f73bdb75b44dcb4754fc49856e556010c99b [
file
] [
log
] [
blame
] [
edit
]
/* Return codes: 1 - ok, 0 - ignore, other - error. */
static
int
arch_get_scno
(
struct
tcb
*
tcp
)
{
return
upeek
(
tcp
->
pid
,
SYSCALL_NR
,
&
tcp
->
scno
)
<
0
?
-
1
:
1
;
}