summaryrefslogtreecommitdiff
path: root/archivers/libarchive/files/doc/text/archive_write_open.3.txt
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/libarchive/files/doc/text/archive_write_open.3.txt')
-rw-r--r--archivers/libarchive/files/doc/text/archive_write_open.3.txt14
1 files changed, 7 insertions, 7 deletions
diff --git a/archivers/libarchive/files/doc/text/archive_write_open.3.txt b/archivers/libarchive/files/doc/text/archive_write_open.3.txt
index 734135993a2..38ad962fcf4 100644
--- a/archivers/libarchive/files/doc/text/archive_write_open.3.txt
+++ b/archivers/libarchive/files/doc/text/archive_write_open.3.txt
@@ -33,9 +33,9 @@ DESCRIPTION
archive_write_open()
Freeze the settings, open the archive, and prepare for writing
entries. This is the most generic form of this function, which
- accepts pointers to three callback functions which will be
- invoked by the compression layer to write the constructed ar‐
- chive. This does not alter the default archive padding.
+ accepts pointers to three callback functions which will be in‐
+ voked by the compression layer to write the constructed archive.
+ This does not alter the default archive padding.
archive_write_open_fd()
A convenience form of archive_write_open() that accepts a file
@@ -60,8 +60,8 @@ DESCRIPTION
archive_write_open_filename() will adjust the last-block padding
depending on the file: it will enable padding when writing to
standard output or to a character or block device node, it will
- disable padding otherwise. You can override this by manually
- invoking archive_write_set_bytes_in_last_block() before calling
+ disable padding otherwise. You can override this by manually in‐
+ voking archive_write_set_bytes_in_last_block() before calling
archive_write_open(). The archive_write_open_filename() function
is safe for use with tape drives or other block-oriented devices.
@@ -90,8 +90,8 @@ CLIENT CALLBACKS
The open callback is invoked by archive_write_open(). It should return
ARCHIVE_OK if the underlying file or data source is successfully opened.
- If the open fails, it should call archive_set_error() to register an
- error code and message and return ARCHIVE_FATAL.
+ If the open fails, it should call archive_set_error() to register an er‐
+ ror code and message and return ARCHIVE_FATAL.
typedef la_ssize_t archive_write_callback(struct archive *,
void *client_data, const void *buffer, size_t length)