git: 42db2dbbc51b - main - Catch up with 2004 and improve markup.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 01 Jul 2022 12:31:24 UTC
The branch main has been updated by des: URL: https://cgit.FreeBSD.org/src/commit/?id=42db2dbbc51bffa90dc594f728976dcdb646c2b6 commit 42db2dbbc51bffa90dc594f728976dcdb646c2b6 Author: Dag-Erling Smørgrav <des@FreeBSD.org> AuthorDate: 2022-06-30 13:36:05 +0000 Commit: Dag-Erling Smørgrav <des@FreeBSD.org> CommitDate: 2022-07-01 12:29:04 +0000 Catch up with 2004 and improve markup. Sponsored by: Juniper Networks, Inc. Sponsored by: Klara, Inc. MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D35676 --- share/man/man9/VOP_STRATEGY.9 | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/share/man/man9/VOP_STRATEGY.9 b/share/man/man9/VOP_STRATEGY.9 index 1265fe50ebdb..6600b8e921d5 100644 --- a/share/man/man9/VOP_STRATEGY.9 +++ b/share/man/man9/VOP_STRATEGY.9 @@ -28,7 +28,7 @@ .\" .\" $FreeBSD$ .\" -.Dd February 2, 2014 +.Dd June 30, 2022 .Dt VOP_STRATEGY 9 .Os .Sh NAME @@ -36,6 +36,7 @@ .Nd read or write a file system buffer .Sh SYNOPSIS .In sys/param.h +.In sys/buf.h .In sys/vnode.h .Ft int .Fn VOP_STRATEGY "struct vnode *vp" "struct buf *bp" @@ -49,14 +50,22 @@ The buffer to be read or written. .El .Pp This call either reads or writes data from a file, depending on the value of -.Fa bp->b_io.bio_cmd . +.Fa bp->b_iocmd . .Pp The call may block. .Sh RETURN VALUES Always zero. -Errors should be signalled by setting BIO_ERROR on b_ioflags field in struct buf, -and setting b_error to the appropriate errno value. +Errors should be signalled by setting the +.Dv BIO_ERROR +bit in +.Fa bp->b_ioflags +and setting +.Fa bp->b_error +to the appropriate +.Va errno +value. .Sh SEE ALSO +.Xr errno 2 , .Xr buf 9 , .Xr vnode 9 .Sh AUTHORS