summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-03-23 13:02:37 +0000
committerbde <bde@FreeBSD.org>1998-03-23 13:02:37 +0000
commitfb90e5ae688a887ffd44935d660f9d8f53450fc7 (patch)
tree4168cbca5fa77071348b700fb21ca89f293e7014
parentb050b13250d172d43a92348996146355d237564f (diff)
downloadFreeBSD-src-fb90e5ae688a887ffd44935d660f9d8f53450fc7.zip
FreeBSD-src-fb90e5ae688a887ffd44935d660f9d8f53450fc7.tar.gz
Fixed bitrot in synopsis. Didn't fix bitrot elsewhere.
-rw-r--r--lib/libc/gen/getvfsent.313
1 files changed, 7 insertions, 6 deletions
diff --git a/lib/libc/gen/getvfsent.3 b/lib/libc/gen/getvfsent.3
index 57b026b..cc00053 100644
--- a/lib/libc/gen/getvfsent.3
+++ b/lib/libc/gen/getvfsent.3
@@ -1,4 +1,4 @@
-.\" $Id: getvfsent.3,v 1.9 1997/03/03 06:02:54 mpp Exp $
+.\" $Id: getvfsent.3,v 1.10 1998/03/19 07:33:31 charnier Exp $
.\" Written by Garrett A. Wollman, September 1994.
.\" This manual page is in the public domain.
.\"
@@ -17,11 +17,12 @@
.Sh SYNOPSIS
.Fd #include <sys/param.h>
.Fd #include <sys/mount.h>
-.Ft struct vfsconf *
+.Fd #undef getvfsbyname
+.Ft struct ovfsconf *
.Fn getvfsbyname "const char *name"
-.Ft struct vfsconf *
+.Ft struct ovfsconf *
.Fn getvfsbytype "int type"
-.Ft struct vfsconf *
+.Ft struct ovfsconf *
.Fn getvfsent "void"
.Ft void
.Fn setvfsent "int cachelist"
@@ -47,7 +48,7 @@ provide direct access to a single filesystem's information;
steps through the list of filesystems one at a time. All three
functions return a null pointer when no data is available. The fields
in a
-.Dq Li struct vfsconf
+.Dq Li struct ovfsconf
are as follows:
.Pp
.Bl -tag -compact -width vfc_refcount
@@ -134,7 +135,7 @@ Here is an example, taken from the source to
.Xr mount_cd9660 8 :
.Bd -literal -offset indent
-struct vfsconf *vfc;
+struct ovfsconf *vfc;
/* setup code here */
OpenPOWER on IntegriCloud