1<!-- Creator : groff version 1.22.4 --> 2<!-- CreationDate: Sun Aug 22 23:03:26 2021 --> 3<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 4"http://www.w3.org/TR/html4/loose.dtd"> 5<html> 6<head> 7<meta name="generator" content="groff -Thtml, see www.gnu.org"> 8<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> 9<meta name="Content-Style" content="text/css"> 10<style type="text/css"> 11 p { margin-top: 0; margin-bottom: 0; vertical-align: top } 12 pre { margin-top: 0; margin-bottom: 0; vertical-align: top } 13 table { margin-top: 0; margin-bottom: 0; vertical-align: top } 14 h1 { text-align: center } 15</style> 16<title></title> 17</head> 18<body> 19 20<hr> 21 22 23<p>ARCHIVE_WRITE_FINISH_... BSD Library Functions Manual 24ARCHIVE_WRITE_FINISH_...</p> 25 26<p style="margin-top: 1em"><b>NAME</b></p> 27 28 29<p style="margin-left:6%;"><b>archive_write_finish_entry</b> 30— functions for creating archives</p> 31 32<p style="margin-top: 1em"><b>LIBRARY</b></p> 33 34<p style="margin-left:6%;">Streaming Archive Library 35(libarchive, -larchive)</p> 36 37<p style="margin-top: 1em"><b>SYNOPSIS</b></p> 38 39<p style="margin-left:6%;"><b>#include 40<archive.h></b></p> 41 42<p style="margin-left:6%; margin-top: 1em"><i>int</i></p> 43 44 45<p style="margin-left:12%;"><b>archive_write_finish_entry</b>(<i>struct archive *</i>);</p> 46 47<p style="margin-top: 1em"><b>DESCRIPTION</b></p> 48 49<p style="margin-left:6%;">Close out the entry just 50written. In particular, this writes out the final padding 51required by some formats. Ordinarily, clients never need to 52call this, as it is called automatically by 53<b>archive_write_header</b>() and 54<b>archive_write_close</b>() as needed. For 55archive_write_disk handles, this flushes pending file 56attribute changes like modification time.</p> 57 58<p style="margin-top: 1em"><b>RETURN VALUES</b></p> 59 60<p style="margin-left:6%;">This function returns 61<b>ARCHIVE_OK</b> on success, or one of several non-zero 62error codes for errors. Specific error codes include: 63<b>ARCHIVE_RETRY</b> for operations that might succeed if 64retried, <b>ARCHIVE_WARN</b> for unusual conditions that do 65not prevent further operations, and <b>ARCHIVE_FATAL</b> for 66serious errors that make remaining operations 67impossible.</p> 68 69<p style="margin-top: 1em"><b>ERRORS</b></p> 70 71<p style="margin-left:6%;">Detailed error codes and textual 72descriptions are available from the <b>archive_errno</b>() 73and <b>archive_error_string</b>() functions.</p> 74 75<p style="margin-top: 1em"><b>SEE ALSO</b></p> 76 77<p style="margin-left:6%;">tar(1), archive_write_data(3), 78archive_write_set_options(3), libarchive(3), cpio(5), 79mtree(5), tar(5)</p> 80 81<p style="margin-left:6%; margin-top: 1em">BSD 82February 28, 2017 BSD</p> 83<hr> 84</body> 85</html> 86