VOP_STRATEGY.9freebsd

Langue: en

Autres versions - même langue

Version: 328759 (ubuntu - 08/07/09)

Section: 9 (Appels noyau Linux)


BSD mandoc

NAME

VOP_STRATEGY - read or write a file system buffer

SYNOPSIS

In sys/param.h In sys/vnode.h Ft int Fn VOP_STRATEGY struct vnode *vp struct buf *bp

DESCRIPTION

The arguments are:
Fa vp
The vnode that the buffer is for.
Fa bp
The buffer to be read or written.

This call either reads or writes data from a file, depending on the value of Fa 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

This manual page was written by An Doug Rabson .