VOP_STRATEGY(9) BSD Kernel Developer's Manual VOP_STRATEGY(9)NAMEVOP_STRATEGY — read or write a filesystem buffer
SYNOPSIS
#include <sys/param.h>
#include <sys/vnode.h>
int
VOP_STRATEGY(struct vnode *vp, struct buf *bp);
DESCRIPTION
The arguments are:
vp the vnode that the buffer is for
bp the buffer to be read or written
This call either reads or writes data from a file, depending on the value
of bp->b_flags.
RETURN VALUES
Zero is returned on success, otherwise an error is returned.
SEE ALSOvnode(9)AUTHORS
This man page was written by Doug Rabson.
BSD July 24, 1996 BSD