mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-29 05:04:50 +00:00
Fixed bitrot in synopsis. Important interface changes hadn't reached here.
This commit is contained in:
parent
bd00dbfafc
commit
5770fb1361
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=55047
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue