tar_block_read - Man Page

macros to call read and write functions for the correct tar archive type

Synopsis

#include <libtar.h>

int tar_block_read(TAR *t, char *buf);

int tar_block_write(TAR *t, char *buf);

Version

This man page documents version 1.2 of libtar.

Description

The tar_block_read() and tar_block_write() macros call the read and write functions for the tar archive type associated with the TAR handle t.  This type is set when the TAR handle is created using tar_open().

Return Value

These macros return the same values as the corresponding read and write functions.

See Also

read(2), write(2), tar_open(3)

Referenced By

th_read(3).

The man page tar_block_write(3) is an alias of tar_block_read(3).

Jan 2001 University of Illinois C Library Calls