th_print, th_print_long_ls
print out information about a tar file header
- Provided by: libtar-dev (Version: 1.2.20-8.1ubuntu0.24.04.1)
- Source: libtar
- Report a bug
print out information about a tar file header
#include <libtar.h>
void th_print_long_ls(TAR *t);
void th_print(TAR *t);
This man page documents version 1.2 of libtar.
The th_print_long_ls() function prints a line to stdout which describes the file pointed to by the current file header associated with the TAR handle t. The output is similar to that of "ls -l".
The th_print() function prints the value of each field of the current file header associated with the TAR handle t to stdout. This is mainly used for debugging purposes.