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