1 2 3 4 5 6 7 8
long getrval2(struct tcb *tcp) { unsigned long r20; if (upeek(tcp->pid, 20, &r20) < 0) return -1; return r20; }