allwinner_a64/android/external/strace/linux/hppa/get_scno.c
2018-08-08 16:14:42 +08:00

6 lines
160 B
C

/* 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;
}