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