about the profile information, i've compiled and linked the program in this way

% 8c -FV tds.c //this is the source i've posted with the print function commented
% 8l -p tds.8
% 8.out // it output an error
1 Prof errors
% prof prof.392 8.out
http://phpfi.com/222234 //the output of the prof command


well, the fact is that i dont know how can it help..