th_print(3)

th_print3

Print out information about a tar file header

Part of th_print_long_ls(3).

Usage

#include <libtar.h>

void th_print_long_ls(TAR *t);

void th_print(TAR *t);

Version

This man page documents version 1.2 of libtar.

Overview

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.

From libtar 1.2.20-8 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.