summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1999-12-23 17:22:58 +0000
committerbde <bde@FreeBSD.org>1999-12-23 17:22:58 +0000
commit49e08120f6d75e003734ba24020753c9aa6aa44b (patch)
tree384e830c0910bd1bb5e209b20e07dec01f08b5cb
parent5eb92e1444c74e1698bc2ccec3722727576d3cbf (diff)
downloadFreeBSD-src-49e08120f6d75e003734ba24020753c9aa6aa44b.zip
FreeBSD-src-49e08120f6d75e003734ba24020753c9aa6aa44b.tar.gz
Fixed bitrot in synopsis. Important interface changes hadn't reached here.
-rw-r--r--share/man/man9/VOP_BWRITE.910
-rw-r--r--share/man/man9/physio.99
2 files changed, 6 insertions, 13 deletions
diff --git a/share/man/man9/VOP_BWRITE.9 b/share/man/man9/VOP_BWRITE.9
index cb62d4b..da9050d 100644
--- a/share/man/man9/VOP_BWRITE.9
+++ b/share/man/man9/VOP_BWRITE.9
@@ -37,19 +37,17 @@
.Sh SYNOPSIS
.Fd #include <sys/param.h>
.Fd #include <sys/vnode.h>
-.Fd #include <sys/buf.h>
.Ft int
-.Fn VOP_BWRITE "struct buf *bp"
+.Fn VOP_BWRITE "struct vnode *vp" "struct buf *bp"
.Sh DESCRIPTION
.Pp
The arguments are:
-.Bl -tag -width bp
+.Bl -tag -width vp
+.It Ar vp
+the vnode of the file being written to
.It Ar bp
the buffer to be written
.El
-.Pp
-Most filesystems use the default implementation of this,
-.Fn vn_bwrite .
.Sh RETURN VALUES
Zero is returned on success, otherwise an error is returned.
.Sh SEE ALSO
diff --git a/share/man/man9/physio.9 b/share/man/man9/physio.9
index 3822af1..02114fa 100644
--- a/share/man/man9/physio.9
+++ b/share/man/man9/physio.9
@@ -44,15 +44,10 @@
.Nd initiate I/O on raw devices
.Sh SYNOPSIS
.Fd #include <sys/param.h>
+.Fd #include <sys/systm.h>
.Fd #include <sys/buf.h>
.Ft int
-.Fo physio
-.Fa "void (*strategy)(struct buf *)"
-.Fa "struct buf *bp"
-.Fa "dev_t dev"
-.Fa "int flags"
-.Fa "u_int (*minphys)(struct buf *)"
-.Fa "struct uio *uio"
+.Fn physio "dev_t dev" "struct uio *uio" "int ioflag"
.Fc
.Sh DESCRIPTION
The
OpenPOWER on IntegriCloud