ManPageArchiveWriteFinishEntry3.wiki 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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. [[ManPageArchiveWriteData3]],
  46. [[ManPageArchiveWriteSetOptions3]],
  47. [[ManPageLibarchive3]],
  48. [[ManPageCpio5]],
  49. [[ManPageMtree5]],
  50. [[ManPageTar5]]