The output from each of the execution is appended to the log file.
To generate a log when a program $ ./a.out arg1 arg2 arg3 .. argn is executed, use the following command syntax:
$/usr/ccs/bin/ltrace ./a.out
For example:
$/usr/ccs/bin/ltrace /usr/bin/ls
The
NOTE: ltrace does not need the debug version of the library libc as it already includes prototype information for some of the most commonly used libc procedures. For the remaining libc procedures, only the execution is reported.
68 Linker Tools for