tail head cat sleep
QR code linking to this page

manページ  — BUF_REFCNT

名称

BUF_REFCNT – バッファのロックの参照カウントの取得

内容

書式

#include <sys/param.h>
#include <sys/systm.h>
#include <sys/uio.h>
#include <sys/bio.h>
#include <sys/buf.h>

int
BUF_REFCNT(struct buf *bp);

解説

BUF_REFCNT() 関数はバッファのロックの参照カウントを返します。

引数は以下の通りです。
bp
  ロックの参照カウントを返すべきバッファです。

関連項目

buf(9), BUF_LOCK(9), BUF_TIMELOCK(9), BUF_UNLOCK(9), lockcount(9)

作者

このマニュアルページは Chad David <davidc@acns.ab.ca> が書きました。

BUF_REFCNT (9) July 9, 2001

tail head cat sleep
QR code linking to this page


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

“ Ken Thompson has an automobile which he helped design. Unlike most automobiles, it has neither speedometer, nor gas gauge, nor any of the other numerous idiot lights which plague the modern driver. Rather, if the driver makes a mistake, a giant “?” lights up in the center of the dashboard. “The experienced driver,” says Thompson, “will usually know what's wrong.” ”