4 decode_readlink(struct tcb *tcp, int offset)
7 printpath(tcp, tcp->u_arg[offset]);
11 tprintf("%#lx", tcp->u_arg[offset + 1]);
13 /* Used to use printpathn(), but readlink
14 * neither includes NUL in the returned count,
15 * nor actually writes it into memory.
16 * printpathn() would decide on printing
17 * "..." continuation based on garbage
18 * past return buffer's end.
20 printstr(tcp, tcp->u_arg[offset + 1], tcp->u_rval);
21 tprintf(", %lu", tcp->u_arg[offset + 2]);
28 return decode_readlink(tcp, 0);
34 print_dirfd(tcp, tcp->u_arg[0]);
35 return decode_readlink(tcp, 1);