summaryrefslogtreecommitdiff
path: root/archivers/libarchive/files/doc/text/archive_util.3.txt
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/libarchive/files/doc/text/archive_util.3.txt')
-rw-r--r--archivers/libarchive/files/doc/text/archive_util.3.txt14
1 files changed, 11 insertions, 3 deletions
diff --git a/archivers/libarchive/files/doc/text/archive_util.3.txt b/archivers/libarchive/files/doc/text/archive_util.3.txt
index 28b688362ba..190fc26a05a 100644
--- a/archivers/libarchive/files/doc/text/archive_util.3.txt
+++ b/archivers/libarchive/files/doc/text/archive_util.3.txt
@@ -2,8 +2,9 @@ archive_util(3) FreeBSD Library Functions Manual archive_util(3)
NAME
archive_clear_error, archive_compression, archive_compression_name,
- archive_copy_error, archive_errno, archive_error_string, archive_format,
- archive_format_name, archive_set_error -- libarchive utility functions
+ archive_copy_error, archive_errno, archive_error_string,
+ archive_file_count, archive_format, archive_format_name,
+ archive_set_error -- libarchive utility functions
SYNOPSIS
#include <archive.h>
@@ -27,6 +28,9 @@ SYNOPSIS
archive_error_string(struct archive *);
int
+ archive_file_count(struct archive *);
+
+ int
archive_format(struct archive *);
const char *
@@ -57,6 +61,10 @@ DESCRIPTION
Returns a textual error message suitable for display. The error
message here is usually more specific than that obtained from
passing the result of archive_errno() to strerror(3).
+ archive_file_count()
+ Returns a count of the number of files processed by this archive
+ object. The count is incremented by calls to
+ archive_write_header or archive_read_next_header.
archive_format()
Returns a numeric code indicating the format of the current ar-
chive entry. This value is set by a successful call to
@@ -88,4 +96,4 @@ HISTORY
AUTHORS
The libarchive library was written by Tim Kientzle <kientzle@acm.org>.
-FreeBSD 6.0 January 8, 2005 FreeBSD 6.0
+FreeBSD 8.0 January 8, 2005 FreeBSD 8.0