summaryrefslogtreecommitdiff
path: root/libarchive/archive_read_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_read_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_read_disk.3')
-rw-r--r--libarchive/archive_read_disk.319
1 files changed, 9 insertions, 10 deletions
diff --git a/libarchive/archive_read_disk.3 b/libarchive/archive_read_disk.3
index 2c9c4e53..d3b6101d 100644
--- a/libarchive/archive_read_disk.3
+++ b/libarchive/archive_read_disk.3
@@ -237,15 +237,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
-.Xr archive_errno 3
-and
-.Xr archive_error_string 3
-functions can be used to retrieve an appropriate error code and a
-textual error message.
-(See
-.Xr archive_util 3
-for details.)
.Pp
.Fn archive_read_disk_new
returns a pointer to a newly-allocated
@@ -261,9 +252,17 @@ pointers to the textual name or NULL if the lookup failed for any reason.
The returned pointer points to internal storage that
may be reused on the next call to either of these functions;
callers should copy the string if they need to continue accessing it.
-.Pp
+.\"
+.Sh ERRORS
+Detailed error codes and textual descriptions are available from the
+.Fn archive_errno
+and
+.Fn archive_error_string
+functions.
+.\"
.Sh SEE ALSO
.Xr archive_read 3 ,
+.Xr archive_util 3 ,
.Xr archive_write 3 ,
.Xr archive_write_disk 3 ,
.Xr tar 1 ,