tail head cat sleep
QR code linking to this page

manページ  — VOP_STRATEGY

名称

VOP_STRATEGY – ファイルシステムバッファの読み書き

内容

書式

#include <sys/param.h>
#include <sys/vnode.h>

int
VOP_STRATEGY(struct vnode *vp, struct buf *bp);

解説

引数は以下の通りです。
vp
  バッファが対象にする vnode。
bp
  読み書きされるべきバッファ。

この呼び出しは、 bp->b_io.bio_cmd の値に依存して、ファイルの読み込みまたは書き込みを行ないます。

この呼び出しはブロックされることができます。

戻り値

成功時には 0 が返され、そうでない場合にはエラーが返されます。

関連項目

vnode(9)

作者

このマニュアルページは Doug Rabson が書きました。

VOP_STRATEGY (9) July 24, 1996

tail head cat sleep
QR code linking to this page


このマニュアルページサービスについてのご意見は Ben Bullock にお知らせください。 Privacy policy.

“ The most horrifying thing about Unix is that, no matter how many times you hit yourself over the head with it, you never quite manage to lose consciousness. It just goes on and on. ”
— Patrick Sobalvarro