summaryrefslogtreecommitdiff
path: root/lib/libarchive/archive_write.3
diff options
context:
space:
mode:
authorTim Kientzle <kientzle@FreeBSD.org>2006-11-20 16:48:04 +0000
committerTim Kientzle <kientzle@FreeBSD.org>2006-11-20 16:48:04 +0000
commitaf6513d3ea90da68883b109040d20b6ff6a9ea29 (patch)
treeccf9c8e67b4411225c9d2d3ba56b57e7a76c05c3 /lib/libarchive/archive_write.3
parentfc9c165a412ffe6726a8c854c87b9ade039b2f89 (diff)
Notes
Diffstat (limited to 'lib/libarchive/archive_write.3')
-rw-r--r--lib/libarchive/archive_write.311
1 files changed, 7 insertions, 4 deletions
diff --git a/lib/libarchive/archive_write.3 b/lib/libarchive/archive_write.3
index 716ed10a9a020..6dcbefdf314ef 100644
--- a/lib/libarchive/archive_write.3
+++ b/lib/libarchive/archive_write.3
@@ -41,7 +41,7 @@
.Nm archive_write_set_compressor_bzip2 ,
.Nm archive_write_open ,
.Nm archive_write_open_fd ,
-.Nm archive_write_open_file ,
+.Nm archive_write_open_filename ,
.Nm archive_write_header ,
.Nm archive_write_data ,
.Nm archive_write_close ,
@@ -76,7 +76,7 @@
.Ft int
.Fn archive_write_open_fd "struct archive *" "int fd"
.Ft int
-.Fn archive_write_open_file "struct archive *" "const char *filename"
+.Fn archive_write_open_filename "struct archive *" "const char *filename"
.Ft int
.Fn archive_write_header "struct archive *" "struct archive_entry *"
.Ft int
@@ -118,7 +118,7 @@ For compressed output, any padding generated by this option
is applied only after the compression.
The uncompressed data is always unpadded.
The default is to pad the last block to the full block size (note that
-.Fn archive_write_open_file
+.Fn archive_write_open_filename
will set this based on the file type).
Unlike the other
.Dq set
@@ -165,6 +165,9 @@ A convenience form of
.Fn archive_write_open
that accepts a file descriptor.
.It Fn archive_write_open_file
+A deprecated synonym for
+.Fn archive_write_open_filename .
+.It Fn archive_write_open_filename
A convenience form of
.Fn archive_write_open
that accepts a filename.
@@ -175,7 +178,7 @@ will open a file with that name.
If you have not invoked
.Fn archive_write_set_bytes_in_last_block ,
then
-.Fn archive_write_open_file
+.Fn 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.