summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/getvfsbyname.3
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/gen/getvfsbyname.3')
-rw-r--r--lib/libc/gen/getvfsbyname.39
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/libc/gen/getvfsbyname.3 b/lib/libc/gen/getvfsbyname.3
index 746d4df..db6152f 100644
--- a/lib/libc/gen/getvfsbyname.3
+++ b/lib/libc/gen/getvfsbyname.3
@@ -38,10 +38,8 @@
.Nm getvfsbyname
.Nd get information about a filesystem
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
+.Fd #include <sys/param.h>
.Fd #include <sys/mount.h>
-.Fd #include <kvm.h>
-.br
.Ft int
.Fn getvfsbyname "const char *name" "struct vfsconf *vfc"
.Sh DESCRIPTION
@@ -53,7 +51,7 @@ If successful,
the requested filesystem
.Fa vfsconf
is returned in the location pointed to by
-.Nm vfc .
+.Fa vfc .
The fields in a
.Dq Li struct vfsconf
are defined as follows:
@@ -95,4 +93,5 @@ specifies a filesystem that is unknown or not configured in the kernel.
.Sh HISTORY
A variant of the
.Fn getvfsbyname
-function first appeared in FreeBSD 2.0.
+function first appeared in
+.Fx 2.0 .
OpenPOWER on IntegriCloud