freebsd-nq/usr.bin/truss
Alfred Perlstein 2bae4eb308 Support readlink(2) better. Readlink does not nul terminate the
result buffer, so we need to format it ourselves.  The problem is
that the length is stored as the return value from readlink, so we
need to pass the return value from our syscall into print_arg.

Motivated by: truss garbage on my screen from reading /etc/malloc.conf.
2004-07-17 19:48:49 +00:00
..
alpha-fbsd.c Support readlink(2) better. Readlink does not nul terminate the 2004-07-17 19:48:49 +00:00
amd64-fbsd32.c Support readlink(2) better. Readlink does not nul terminate the 2004-07-17 19:48:49 +00:00
amd64-fbsd.c Support readlink(2) better. Readlink does not nul terminate the 2004-07-17 19:48:49 +00:00
amd64-linux32.c Support readlink(2) better. Readlink does not nul terminate the 2004-07-17 19:48:49 +00:00
extern.h When reporting reciept of a signal, print the signal's name. 2004-07-17 19:19:36 +00:00
i386-fbsd.c Support readlink(2) better. Readlink does not nul terminate the 2004-07-17 19:48:49 +00:00
i386-linux.c Support readlink(2) better. Readlink does not nul terminate the 2004-07-17 19:48:49 +00:00
i386.conf
i386linux.conf
ia64-fbsd.c Support readlink(2) better. Readlink does not nul terminate the 2004-07-17 19:48:49 +00:00
main.c When reporting reciept of a signal, print the signal's name. 2004-07-17 19:19:36 +00:00
Makefile decode fcntl and mmap arguments. 2004-03-23 09:04:06 +00:00
setup.c Move declarations of Procfd to a header file. 2004-01-07 14:29:45 +00:00
sparc64-fbsd.c Support readlink(2) better. Readlink does not nul terminate the 2004-07-17 19:48:49 +00:00
syscall.h Support readlink(2) better. Readlink does not nul terminate the 2004-07-17 19:48:49 +00:00
syscalls.c Support readlink(2) better. Readlink does not nul terminate the 2004-07-17 19:48:49 +00:00
truss.1
truss.h