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