6d33560e675328705974d680cb5a2bffb0b5bea6
[platform/upstream/libarchive.git] / doc / wiki / ManPageArchiveWriteFinishEntry3.wiki
1 ARCHIVE_WRITE_FINISH_ENTRY(3) manual page 
2 == NAME == 
3 '''archive_write_finish_entry''' 
4 - functions for creating archives 
5 == LIBRARY == 
6 Streaming Archive Library (libarchive, -larchive) 
7 == SYNOPSIS == 
8 '''<nowiki>#include <archive.h></nowiki>''' 
9 <br> 
10 ''int'' 
11 <br> 
12 '''archive_write_finish_entry'''(''struct archive *''); 
13 == DESCRIPTION == 
14 Close out the entry just written. 
15 In particular, this writes out the final padding required by some formats. 
16 Ordinarily, clients never need to call this, as it 
17 is called automatically by 
18 '''archive_write_header'''() 
19 and 
20 '''archive_write_close'''() 
21 as needed. 
22 For 
23 '''archive_write_disk''' 
24 handles, this flushes pending file attribute changes like modification time. 
25 == RETURN VALUES == 
26 This function returns 
27 '''ARCHIVE_OK''' 
28 on success, or one of several non-zero 
29 error codes for errors. 
30 Specific error codes include: 
31 '''ARCHIVE_RETRY''' 
32 for operations that might succeed if retried, 
33 '''ARCHIVE_WARN''' 
34 for unusual conditions that do not prevent further operations, and 
35 '''ARCHIVE_FATAL''' 
36 for serious errors that make remaining operations impossible. 
37 == ERRORS == 
38 Detailed error codes and textual descriptions are available from the 
39 '''archive_errno'''() 
40 and 
41 '''archive_error_string'''() 
42 functions. 
43 == SEE ALSO == 
44 [[ManPageBsdtar1]], 
45 [[ManPageLibarchive3]], 
46 [[ManPageArchiveWriteData3]], 
47 [[ManPageArchiveWriteSetOptions3]], 
48 [[ManPageCpio5]], 
49 [[ManPageMtree5]], 
50 [[ManPageTar5]]