diff options
author | kientzle <kientzle@FreeBSD.org> | 2006-11-20 16:48:04 +0000 |
---|---|---|
committer | kientzle <kientzle@FreeBSD.org> | 2006-11-20 16:48:04 +0000 |
commit | 1eab20d6eacc49ec68067a17fb26b0ea720a9aa1 (patch) | |
tree | ccf9c8e67b4411225c9d2d3ba56b57e7a76c05c3 /lib/libarchive/archive_write.3 | |
parent | 6168acc09e848e7b94c9d0db73a24959fb2b6899 (diff) | |
download | FreeBSD-src-1eab20d6eacc49ec68067a17fb26b0ea720a9aa1.zip FreeBSD-src-1eab20d6eacc49ec68067a17fb26b0ea720a9aa1.tar.gz |
Officially rename archive_{read,write}_open_file() to
archive_{read,write}_open_filename():
* Update Makefile to build the files using the new name.
* Update docs to document the new names, mentioning the
old ones as "deprecated synonyms."
* The old filenames will be reconnected to the build soon;
I'll soon recyce those files for a slightly different purpose.
Diffstat (limited to 'lib/libarchive/archive_write.3')
-rw-r--r-- | lib/libarchive/archive_write.3 | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/lib/libarchive/archive_write.3 b/lib/libarchive/archive_write.3 index 716ed10..6dcbefd 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. |