VCOUNT(9) BSD Kernel Manual VCOUNT(9)NAMEvcount - get total number of references to a device
SYNOPSIS
#include <sys/param.h>
#include <sys/time.h>
#include <sys/conf.h>
#include <sys/vnode.h>
int
vcount(struct vnode *vp);
DESCRIPTIONvcount() is used to get the number of references to a particular device.
It allows for the fact that multiple vnodes may reference the same dev-
ice.
RETURN VALUESvcount() returns the number of references to the device.
SEE ALSOvnode(9)AUTHORS
This man page was originally written by Andrew Stevenson for FreeBSD.
MirOS BSD #10-current February 6, 2001 1