VOP_STRATEGY -- read or write a file system buffer
#include <sys/param.h>
#include <sys/vnode.h>
int
VOP_STRATEGY(struct vnode *vp, struct buf *bp);
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_io.bio_cmd.
The call may block.
Zero is returned on success, otherwise an error is returned.
vnode(9)
This man page was written by Doug Rabson.
FreeBSD 5.2.1 July 24, 1996 FreeBSD 5.2.1 [ Back ] |