summaryrefslogtreecommitdiff
path: root/libarchive/archive_write_disk.3
diff options
context:
space:
mode:
authorRoman Neuhauser <neuhauser@sigpipe.cz>2011-03-28 05:19:08 -0400
committerRoman Neuhauser <neuhauser@sigpipe.cz>2011-03-28 05:19:08 -0400
commitf74c5f05faccec9b0946faa3f3fbe41fab276a26 (patch)
tree1584fe6da9d3c2ffc6a5ec2599e2513692586882 /libarchive/archive_write_disk.3
parentf70c17e82681b69f1553e02fc816528fc002c78d (diff)
downloadlibarchive-f74c5f05faccec9b0946faa3f3fbe41fab276a26.tar.gz
archive_errno, archive_error_string info in man pages unified a bit
SVN-Revision: 3107
Diffstat (limited to 'libarchive/archive_write_disk.3')
-rw-r--r--libarchive/archive_write_disk.318
1 files changed, 9 insertions, 9 deletions
diff --git a/libarchive/archive_write_disk.3 b/libarchive/archive_write_disk.3
index 708ed311..90bbdcf9 100644
--- a/libarchive/archive_write_disk.3
+++ b/libarchive/archive_write_disk.3
@@ -289,12 +289,6 @@ for operations that might succeed if retried,
for unusual conditions that do not prevent further operations, and
.Cm ARCHIVE_FATAL
for serious errors that make remaining operations impossible.
-The
-.Fn archive_errno
-and
-.Fn archive_error_string
-functions can be used to retrieve an appropriate error code and a
-textual error message.
.Pp
.Fn archive_write_disk_new
returns a pointer to a newly-allocated
@@ -302,12 +296,18 @@ returns a pointer to a newly-allocated
object.
.Pp
.Fn archive_write_data
-returns a count of the number of bytes actually written.
-On error, -1 is returned and the
+returns a count of the number of bytes actually written,
+or
+.Li -1
+on error.
+.\"
+.Sh ERRORS
+Detailed error codes and textual descriptions are available from the
.Fn archive_errno
and
.Fn archive_error_string
-functions will return appropriate values.
+functions.
+.\"
.Sh SEE ALSO
.Xr archive_read 3 ,
.Xr archive_write 3 ,