VOP_STRATEGY.9 (2b191cdcc11a42fedb5acd991257dec64412f2e5) VOP_STRATEGY.9 (218d216271ae1af4cc01c1b1356adecc2f9bc490)
1.\" -*- nroff -*-
2.\"
3.\" Copyright (c) 1996 Doug Rabson
4.\"
5.\" All rights reserved.
6.\"
7.\" This program is free software.
8.\"

--- 28 unchanged lines hidden (view full) ---

37.Sh SYNOPSIS
38.Fd #include <sys/param.h>
39.Fd #include <sys/vnode.h>
40.Ft int
41.Fn VOP_STRATEGY "struct vnode *vp" "struct buf *bp"
42.Sh DESCRIPTION
43.Pp
44The arguments are:
1.\" -*- nroff -*-
2.\"
3.\" Copyright (c) 1996 Doug Rabson
4.\"
5.\" All rights reserved.
6.\"
7.\" This program is free software.
8.\"

--- 28 unchanged lines hidden (view full) ---

37.Sh SYNOPSIS
38.Fd #include <sys/param.h>
39.Fd #include <sys/vnode.h>
40.Ft int
41.Fn VOP_STRATEGY "struct vnode *vp" "struct buf *bp"
42.Sh DESCRIPTION
43.Pp
44The arguments are:
45.Bl -tag -width vp
45.Bl -tag -width 2n
46.It Ar vp
47the vnode that the buffer is for
48.It Ar bp
49the buffer to be read or written
50.El
51.Pp
52This call either reads or writes data from a file, depending on the value of
53.Fa bp->b_io.bio_cmd .
54.Sh RETURN VALUES
55Zero is returned on success, otherwise an error is returned.
56.Sh SEE ALSO
57.\" .Xr buf 9 ,
58.Xr vnode 9
59.Sh AUTHORS
60This man page was written by
61.An Doug Rabson .
46.It Ar vp
47the vnode that the buffer is for
48.It Ar bp
49the buffer to be read or written
50.El
51.Pp
52This call either reads or writes data from a file, depending on the value of
53.Fa bp->b_io.bio_cmd .
54.Sh RETURN VALUES
55Zero is returned on success, otherwise an error is returned.
56.Sh SEE ALSO
57.\" .Xr buf 9 ,
58.Xr vnode 9
59.Sh AUTHORS
60This man page was written by
61.An Doug Rabson .