mirror of
https://github.com/cmclark00/retro-imager.git
synced 2025-05-19 16:35:20 +01:00
- Update bunlded libarchive version used on Windows/Mac - Enable requested zstd support while we are at it. Closes #211
98 lines
3.1 KiB
HTML
98 lines
3.1 KiB
HTML
<!-- Creator : groff version 1.22.4 -->
|
|
<!-- CreationDate: Sun Aug 22 23:03:26 2021 -->
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
|
|
"http://www.w3.org/TR/html4/loose.dtd">
|
|
<html>
|
|
<head>
|
|
<meta name="generator" content="groff -Thtml, see www.gnu.org">
|
|
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
|
<meta name="Content-Style" content="text/css">
|
|
<style type="text/css">
|
|
p { margin-top: 0; margin-bottom: 0; vertical-align: top }
|
|
pre { margin-top: 0; margin-bottom: 0; vertical-align: top }
|
|
table { margin-top: 0; margin-bottom: 0; vertical-align: top }
|
|
h1 { text-align: center }
|
|
</style>
|
|
<title></title>
|
|
</head>
|
|
<body>
|
|
|
|
<hr>
|
|
|
|
|
|
<p>ARCHIVE_READ_HEADER(3) BSD Library Functions Manual
|
|
ARCHIVE_READ_HEADER(3)</p>
|
|
|
|
<p style="margin-top: 1em"><b>NAME</b></p>
|
|
|
|
|
|
<p style="margin-left:6%;"><b>archive_read_next_header</b>,
|
|
<b>archive_read_next_header2</b> — functions for
|
|
reading streaming archives</p>
|
|
|
|
<p style="margin-top: 1em"><b>LIBRARY</b></p>
|
|
|
|
<p style="margin-left:6%;">Streaming Archive Library
|
|
(libarchive, -larchive)</p>
|
|
|
|
<p style="margin-top: 1em"><b>SYNOPSIS</b></p>
|
|
|
|
<p style="margin-left:6%;"><b>#include
|
|
<archive.h></b></p>
|
|
|
|
<p style="margin-left:6%; margin-top: 1em"><i>int</i></p>
|
|
|
|
|
|
<p style="margin-left:12%;"><b>archive_read_next_header</b>(<i>struct archive *</i>,
|
|
<i>struct archive_entry **</i>);</p>
|
|
|
|
<p style="margin-left:6%; margin-top: 1em"><i>int</i></p>
|
|
|
|
|
|
<p style="margin-left:12%;"><b>archive_read_next_header2</b>(<i>struct archive *</i>,
|
|
<i>struct archive_entry *</i>);</p>
|
|
|
|
<p style="margin-top: 1em"><b>DESCRIPTION <br>
|
|
archive_read_next_header</b>()</p>
|
|
|
|
<p style="margin-left:17%;">Read the header for the next
|
|
entry and return a pointer to a struct archive_entry. This
|
|
is a convenience wrapper around
|
|
<b>archive_read_next_header2</b>() that reuses an internal
|
|
struct archive_entry object for each request.</p>
|
|
|
|
<p><b>archive_read_next_header2</b>()</p>
|
|
|
|
<p style="margin-left:17%;">Read the header for the next
|
|
entry and populate the provided struct archive_entry.</p>
|
|
|
|
<p style="margin-top: 1em"><b>RETURN VALUES</b></p>
|
|
|
|
<p style="margin-left:6%;">These functions return
|
|
<b>ARCHIVE_OK</b> (the operation succeeded),
|
|
<b>ARCHIVE_WARN</b> (the operation succeeded but a
|
|
non-critical error was encountered), <b>ARCHIVE_EOF</b>
|
|
(end-of-archive was encountered), <b>ARCHIVE_RETRY</b> (the
|
|
operation failed but can be retried), and
|
|
<b>ARCHIVE_FATAL</b> (there was a fatal error; the archive
|
|
should be closed immediately).</p>
|
|
|
|
<p style="margin-top: 1em"><b>ERRORS</b></p>
|
|
|
|
<p style="margin-left:6%;">Detailed error codes and textual
|
|
descriptions are available from the <b>archive_errno</b>()
|
|
and <b>archive_error_string</b>() functions.</p>
|
|
|
|
<p style="margin-top: 1em"><b>SEE ALSO</b></p>
|
|
|
|
<p style="margin-left:6%;">tar(1), archive_read(3),
|
|
archive_read_data(3), archive_read_extract(3),
|
|
archive_read_filter(3), archive_read_format(3),
|
|
archive_read_open(3), archive_read_set_options(3),
|
|
archive_util(3), libarchive(3), tar(5)</p>
|
|
|
|
<p style="margin-left:6%; margin-top: 1em">BSD
|
|
February 2, 2012 BSD</p>
|
|
<hr>
|
|
</body>
|
|
</html>
|