:man| Alphabetical   Categories   About us 
 
VOP_STRATEGY (9) | Kernel routines | Unix Manual Pages | :man

NAME

VOP_STRATEGY - read or write a file system buffer

CONTENTS

Synopsis
Description
Return Values
See Also
Authors

SYNOPSIS


.In sys/param.h
.In 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_io.bio_cmd.

The call may block.

RETURN VALUES

Zero is returned on success, otherwise an error is returned.

SEE ALSO

vnode(9)

AUTHORS

 
Created by Blin Media, 2008-2013