summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2014-01-20 05:07:50 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2014-01-20 05:07:50 +0000
commited6e3804f506d9ab323dfd9d02b5c54396a39f4d (patch)
tree6e0c46e829cf9582931776ee3e96aa45487c8b2f /lib/libc
parent48a5ade7f11c1928f5be23155463d19958dc4852 (diff)
Obvious .Xr fixes, found while testing mandocdb(8).
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/gen/getcap.310
-rw-r--r--lib/libc/gen/getmntinfo.36
2 files changed, 8 insertions, 8 deletions
diff --git a/lib/libc/gen/getcap.3 b/lib/libc/gen/getcap.3
index f5a39516e42..afb4bc82fd6 100644
--- a/lib/libc/gen/getcap.3
+++ b/lib/libc/gen/getcap.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getcap.3,v 1.35 2013/06/05 03:39:22 tedu Exp $
+.\" $OpenBSD: getcap.3,v 1.36 2014/01/20 05:07:48 schwarze Exp $
.\"
.\" Copyright (c) 1992, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -30,7 +30,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: June 5 2013 $
+.Dd $Mdocdate: January 20 2014 $
.Dt GETCAP 3
.Os
.Sh NAME
@@ -98,7 +98,7 @@ must be retained through all subsequent calls to
and
.Fn cgetustr ,
but may then be
-.Xr free Ns \&'d.
+.Xr free 3 Ns \&'d.
On success 0 is returned, 1 if the returned
record contains an unresolved
.Ic tc
@@ -198,7 +198,7 @@ retrieves the value of the string capability
from the capability record pointed to by
.Fa buf .
A pointer to a decoded, NUL-terminated,
-.Xr malloc Ns \&'d
+.Xr malloc 3 Ns \&'d
copy of the string is returned in the
.Ft char *
pointed to by
@@ -233,7 +233,7 @@ call.
If there is no such previous call, the first record in the database is
returned.
Each record is returned in a
-.Xr malloc Ns \&'d
+.Xr malloc 3 Ns \&'d
copy pointed to by
.Fa buf .
.Ic tc
diff --git a/lib/libc/gen/getmntinfo.3 b/lib/libc/gen/getmntinfo.3
index db700758ef6..0138b6a5bca 100644
--- a/lib/libc/gen/getmntinfo.3
+++ b/lib/libc/gen/getmntinfo.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getmntinfo.3,v 1.12 2013/06/05 03:39:22 tedu Exp $
+.\" $OpenBSD: getmntinfo.3,v 1.13 2014/01/20 05:07:48 schwarze Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -27,7 +27,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: June 5 2013 $
+.Dd $Mdocdate: January 20 2014 $
.Dt GETMNTINFO 3
.Os
.Sh NAME
@@ -42,7 +42,7 @@
The
.Fn getmntinfo
function returns an array of
-.Xr statfs
+.Vt statfs
structures describing each currently mounted file system (see
.Xr statfs 2 ) .
.Pp