1316
|
1 |
This patch is needed to convert BSD-style section numbers to Solaris-style
|
|
2 |
section numbers. It has not been fed back to the upstream community. It
|
|
3 |
may need to be tweaked slightly for future releases.
|
|
4 |
|
|
5 |
--- libarchive/libarchive/archive_write_disk.3.orig Mon Mar 26 19:49:00 2012
|
|
6 |
+++ libarchive/libarchive/archive_write_disk.3 Fri Nov 9 12:33:36 2012
|
|
7 |
@@ -25,7 +25,7 @@
|
|
8 |
.\" $FreeBSD$
|
|
9 |
.\"
|
|
10 |
.Dd February 2, 2012
|
|
11 |
-.Dt ARCHIVE_WRITE_DISK 3
|
|
12 |
+.Dt ARCHIVE_WRITE_DISK 3ARCHIVE
|
|
13 |
.Os
|
|
14 |
.Sh NAME
|
|
15 |
.Nm archive_write_disk_new ,
|
|
16 |
@@ -207,22 +207,22 @@
|
|
17 |
This convenience function installs a standard set of user
|
|
18 |
and group lookup functions.
|
|
19 |
These functions use
|
|
20 |
-.Xr getpwnam 3
|
|
21 |
+.Xr getpwnam 3C
|
|
22 |
and
|
|
23 |
-.Xr getgrnam 3
|
|
24 |
+.Xr getgrnam 3C
|
|
25 |
to convert names to ids, defaulting to the ids if the names cannot
|
|
26 |
be looked up.
|
|
27 |
These functions also implement a simple memory cache to reduce
|
|
28 |
the number of calls to
|
|
29 |
-.Xr getpwnam 3
|
|
30 |
+.Xr getpwnam 3C
|
|
31 |
and
|
|
32 |
-.Xr getgrnam 3 .
|
|
33 |
+.Xr getgrnam 3C .
|
|
34 |
.It Fn archive_write_header
|
|
35 |
Build and write a header using the data in the provided
|
|
36 |
.Tn struct archive_entry
|
|
37 |
structure.
|
|
38 |
See
|
|
39 |
-.Xr archive_entry 3
|
|
40 |
+.Xr archive_entry 3ARCHIVE
|
|
41 |
for information on creating and populating
|
|
42 |
.Tn struct archive_entry
|
|
43 |
objects.
|
|
44 |
@@ -275,10 +275,10 @@
|
|
45 |
More information about the
|
|
46 |
.Va struct archive
|
|
47 |
object and the overall design of the library can be found in the
|
|
48 |
-.Xr libarchive 3
|
|
49 |
+.Xr libarchive 3LIB
|
|
50 |
overview.
|
|
51 |
Many of these functions are also documented under
|
|
52 |
-.Xr archive_write 3 .
|
|
53 |
+.Xr archive_write 3ARCHIVE .
|
|
54 |
.Sh RETURN VALUES
|
|
55 |
Most functions return
|
|
56 |
.Cm ARCHIVE_OK
|
|
57 |
@@ -311,10 +311,10 @@
|
|
58 |
functions.
|
|
59 |
.\"
|
|
60 |
.Sh SEE ALSO
|
|
61 |
-.Xr archive_read 3 ,
|
|
62 |
-.Xr archive_write 3 ,
|
|
63 |
+.Xr archive_read 3ARCHIVE ,
|
|
64 |
+.Xr archive_write 3ARCHIVE ,
|
|
65 |
.Xr tar 1 ,
|
|
66 |
-.Xr libarchive 3
|
|
67 |
+.Xr libarchive 3LIB
|
|
68 |
.Sh HISTORY
|
|
69 |
The
|
|
70 |
.Nm libarchive
|
|
71 |
@@ -390,9 +390,9 @@
|
|
72 |
The
|
|
73 |
.Dq standard
|
|
74 |
user-id and group-id lookup functions are not the defaults because
|
|
75 |
-.Xr getgrnam 3
|
|
76 |
+.Xr getgrnam 3C
|
|
77 |
and
|
|
78 |
-.Xr getpwnam 3
|
|
79 |
+.Xr getpwnam 3C
|
|
80 |
are sometimes too large for particular applications.
|
|
81 |
The current design allows the application author to use a more
|
|
82 |
compact implementation when appropriate.
|